Changing Eclipse JVM

Sometimes Eclipse Ganymede will not run if it is unable to find a jdk 1.5 or greater.

Sometimes Eclipse Ganymede  hangs abruptly if you delete the jdk  it was using and if you have set only a JDK 1.4 on your path (Eclipse needs a jdk 1.5 or greater…).

The solution is firing a command line and typing something like

./eclipse -vm c:/Programmi/Java/jdk1.6.0_13/bin

See also:

If available under the eclipse/jre directory, the Eclipse JRE will be used; otherwise the launcher will consult the system path variable. Eclipse will NOT consult the JAVA_HOME environment variable.

To explicitly specify a JVM of your choice, you can use the -vm command line argument:

eclipse -vm c:\jre\bin\javaw.exe ”start Java by executing the specified java executable

eclipse -vm c:\jre\bin\client\jvm.dll ”start Java by loading the jvm in the eclipse process

eclipse -vm c:\jre\bin ”look for Java in the jre/bin directory

See the launcher page for more details on specifying a JVM.

via FAQ How do I run Eclipse? – Eclipsepedia.

Leave a Reply