STS 3.5.0 RELEASE Keeps Crashing - spring-tool-suite

My STS 3.5.0 RELEASE(64 bit) keeps crashing always.
Currently using
OS : Ubuntu 14.04 LTS (64 bit)
JAVA : jdk 1.7.0_55
Any solution?

Not sure if you've fixed it yet, but this was resolved on my machine by changing my GTK theme to something other than oxygen-gtk. If it's the same issue I had, STS will crash every time it tries to open a new modal window (such as the new project window).
Settings for this can be found in:
System Settings > Application Appearance > GTK
It seems that only the GTK2 theme needs to be updated to prevent the crashing. If it's not this, then please add more details to your original question.

Related

Eclipse crashes on MacBook M1

I've recently moved from Mac with Intel to Mac with M1 and I have to use Eclipse, but it doesn't work on M1. What happens is that Eclipse opens up, asks for directory for workspace, main windows shows up. In bottom right corner it says, "deferred early start" and after that "setup check". This check goes to 20% and then Eclipse crashes. I tried to reinstall it, but same result.
There are two ways to run eclipse on apple M1.
Running eclipse for intel architecture using rosetta translator(requires jdk as well as eclipse to be of x86_64 architecture)
Running eclipse built for apple M1 with a jvm for aarch64
In the first case you can use 4.19 build. In general eclipse should work, but there can be some problems
In the second case there is a build available from 4.20 onwards at eclipse-SDK-4.20-macosx-cocoa-aarch64.dmg. This will require a jvm for apple M1.
With JEP 391: macOS/AArch64 Port targeted for Java 17, you should be able download jvm for apple m1

Eclipse (STS) reverts to being a fresh instal every time I open it on my Mac

I have started using mac recently. I downloaded STS and started coding in it. I installed few plugins I needed to work. After a days work I shut down and started it the next day and all off a sudden it again asked for workspace location even if I checked the default location do not ask again checkbox the last time and again I selected the workspace location and checked the checkbox again and now the plugins I installed the previous day are not there I had to install them all over again and it's the same everyday. Can anyone help we with this?
This is a known issue on Mac Os Sierra. I'm not a Mac user myself and not too familiar with the details, but it has something to do with a security feature of Mac OS which is trying to 'sandbox' apps by randomizing thier startup location. This makes STS / Eclipse think its a fresh install and unable to locate any settings / state saved from before.
You can find more info in the STS New and Noteworthy under "Known Issues".
Perhaps these are the most important snippets of information:
If you unpackage the STS archive on macOS Sierra and use it without moving it to a different location on your drive, macOS Sierra Gatekeeper activates a security feature called "Path Randomization" for the app
...
As a workaround, please move the STS.app bundle to a different location on your drive before starting it.

why eclipse is prompting alert message to install jre1.6 although I have installed jre1.7?

I am facing an issue while opening my eclipse (indigo) version. it is displaying following alert message
To open “Eclipse,” you need a Java SE 6 runtime. Would you like to install one now?
although I have jdk 1.7 already installed on my machine. this issue I am facing after upgrading my Mac OSX from 10.7.5 to 10.8.5. please suggest me some how to resolve this issue
Thanks

android emulator launch failed. emulator64-arm : BAD CPU Type in executable

Yesterday I decided to start developing Android in my mac (Snow Leopard 10.6.8) 32-bit.
Everything was ok, i also imported my workspace which i worked in Linux for months. I open a project and compiles perfectly.
When i try to run the project it gives me this error :
"...android/sdk/tools/emulator64-arm : BAD CPU Type in executable"
I am using eclipse juno for mobile developers and downloaded the latest android sdk for mac
It looks like a 32-bit 64-bit issue. But i couldnt solve it yet.
Anyone had the same issue ?
I already found the problem.
Under the directory, android-sdk/tools/, i deleted every executable related to 64-bit system. Those files are :
emulator64-arm , emulator64-x86 etc.
Then relaunch the project and now it is working like a charm.
Hopefully this helps to anyone who suffers from the same issue.

Eclipse Segfault (OSX)

I'm trying to start eclipse but it crashes after the splash screen and before workspace selection.
This is version: eclipse-java-indigo-SR2-macosx-cocoa-x86_64 on Mac OSX 10.6.8
Launching the eclipse application or executing the alias from a shell ./eclipse (or Eclipse.app/Contents/MacOS/eclipse) results in a segfault.
$ ./eclipse
Invalid memory access of location 0x10 rip=0x7fff84ea3164
Segmentation fault
However, it runs successfully as the super user
$ sudo ./eclipse
Password:
This is fine for now, but running eclipse under sudo does not seem like a good idea.
To make this stranger still, this installation of eclipse worked fine a few months ago and I can't remember changing anything relevant.
Any ideas?
Thanks
Before taking the more drastic step of re-installing Java on Mac OS X [not always so simple :( .. ], I just reinstalled Eclipse and ADT - and it worked fine after that.
In my case, I got this error trying to start Eclipse
Segmentation fault: 11
.. it appeared in my Eclipse ADT setup after I updated the Android SDK for Google Play Services, and then tried to run Installation of update from "Check For Updates". Restarting the computer did not help.
I would try re-installing Java. The Apple installer might thwart you, but this can help get past it.
I'd suggest getting the Java Developer package from Apple, as it includes Javadoc and source for the core libraries.