I am using Spring Tool Suite(STS) 3.0.0 release (eclipse.buildId=3.0.0.201208091018-RELEASE-e42). It was running fine for a couple of months but lately my main workspace is
I faced the same problem. I followed these steps and it's working fine,
Go to your workspace e.g. C:\Workspace
Then open .metadata.plugins folder from your workspace.
Delete below 2 folders,
Eclipse should start after this.
Error Got removed by deleting org.eclipse.e4.workbench in workspace.metadata.plugins folder... :)
I had the same problem after opening a Kepler workspace with Luna and then switch back to Kepler. Seems that Luna added some data unexpected by Kepler.
I had to remove the .metadata folder and configure the workspace again.
Solves the problem by eliminating the workspace\.metadata\.plugins\org.eclipse.e4.workbench
directory.
For me the only solution was a simple adjustment in the eclipse.ini
.
The file located in the root folder of the Eclipse installation.
Before the -vmargs
line add the following:
-vm
C:\Program Files\Java\jre7\bin\javaw.exe
Example:
-vm
C:\Program Files\Java\jdk1.8.0_241\bin\javaw.exe
-vmargs
One of the most recommended options to use is to specify a specific JVM for Eclipse to run on. Doing this ensures that you are absolutely certain which JVM Eclipse will run in and insulates you from system changes that can alter the "default" JVM for your system. Many a user has been tripped up because they thought they knew what JVM would be used by default, but they thought wrong. eclipse.ini
lets you be CERTAIN.
The following examples of eclipse.ini
demonstrate correct usage of the -vm option.
Note the format of the -vm
option - it is important to be exact:
-vm
option and its value (the path) must be on separate lines.-vm
option must occur after the other Eclipse-specific options
(such as -product,
--launcher
.*, etc), but before the -vmargs
option,
since everything after -vmargs
is passed directly to the JVM.eclipse.exe
on Windows) a 32-bit
JVM must be used and for the 64-bit Eclipse executable a 64-bit JVM
must be used.Important: 32-bit Eclipse will not work with a 64-bit JVM
What I did when I had this problem was deleting the .lock inside the crashing workspace's .metadata folder.
Worked as a charm.