Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here is an example of what the eclipse.ini would look like for Windows,

Code Block
linenumberslanguagetruebash
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
# ---------------------------
# Start Bonsai Framework
# -----------------------
# Use local version of Java.
# Note, these lines must come just before -vmwargs
-vm
jre1.6.0_18\bin\javaw.exe
# -----------------------
# End Bonsai Framework
# ---------------------------
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
Panel

Notice line 13 and 14.

Here is an example of eclipse.ini for Unix or Linux,

Code Block
linenumberslanguagetruebash
-startuplugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar--launcher.library-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.2.R36x_v20101019_1345
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
# ---------------------------
# Start Bonsai Framework
# -----------------------
# Use local version of Java.
# Note, these lines must come just before -vmwargs-vm
jre1.6.0_18/bin/java
# -----------------------
# End Bonsai Framework
# --------------------------- -vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
Panel

Notice line 13 and 14.

Info

See Specifying the JVM at the Eclipse Wiki for more deteails.

...