eclipse.exe has encountered a problem and needs to close.

Are you receiving the following window while launching eclipse.exe,

Solution:

you need to supply the path to the java executable in the vm parameter, not the path to the directory containing the executable.  For example, Try something like “C:\Java\jre1.6.0_02\bin\javaw.exe” for -vm parameter in eclipse.ini file.

If you are planning on doing Java development in Eclipse, it is recommended that you point at a jdk and not a jre so that you can have source attached to the runtime library classes/methods.

In the end, If nothing works, reinstall Java (jdk) and launch eclipse.exe.  100% it will work.

Other ways:

1. Try installing it into a clean directory (rather than on top of an existing Eclipse install).

2. here’s an eclipse.ini may works:

-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
256m
-vm
c:/opt/jdk-1.6.0/jre/bin/client/jvm.dll
-vmargs
-Xms40m
-Xmx256m

3. you can try launching the jar that opens Eclipse App.
In my case it was the file
…/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
So,
“java -jar plugins/org.eclipse.equinox.launcher_1.0.0.v20070208a.jar”

4. Here is the eclipse.ini works for me

For more information,

http://wiki.eclipse.org/index.php/Equinox_Launcher

===================================================

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: