Eclipse startup is controlled by the options in $ECLIPSE_HOME/eclipse.ini. If $ECLIPSE_HOME is not defined, the default eclipse.ini in your Eclipse installation directory is used.
eclipse.ini is a text file containing command-line options that are added to the command line used when Eclipse is started up.
Specifying the JVM:
- The -vm option and its value (the path) must be on separate lines.
- The value must be the full absolute or relative path to the Java executable, not just to the Java home
directory.
- The -vm option must occur before the -vmargs option, since everything after -vmargs is passed directly to
the JVM.
Example:
-vm
C:\Java\JDK\1.6\bin\javaw.exe
eclipse.ini is a text file containing command-line options that are added to the command line used when Eclipse is started up.
Specifying the JVM:
- The -vm option and its value (the path) must be on separate lines.
- The value must be the full absolute or relative path to the Java executable, not just to the Java home
directory.
- The -vm option must occur before the -vmargs option, since everything after -vmargs is passed directly to
the JVM.
Example:
-vm
C:\Java\JDK\1.6\bin\javaw.exe