I read the docs and append the given snipped in my eclipse.ini. I also read this, and concluded that since I'm on Linux, I have to substitute -XX:MaxPermSize, but that changed nothing either.
I get this error when trying to launch eclipse:
JVM terminated. Exit code=1
/usr/java/default/bin/java
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
--launcher.XXMaxPermSize 256m
-vmargs
-Xms256m
-Xmx1024m
-XX:PermSize=64m
-Xss1M
-server
-XX:+DoEscapeAnalysis
-jar /home/pc/eclipse//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /home/pc/eclipse/eclipse
-name Eclipse
--launcher.library /home/pc/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.2.R36x_v20101019_1345/eclipse_1310.so
-startup /home/pc/eclipse//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
-exitdata 1ab0003
-product org.eclipse.epp.package.java.product
-vm /usr/java/default/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
--launcher.XXMaxPermSize 256m
-vmargs
-Xms256m
-Xmx1024m
-XX:PermSize=64m
-Xss1M
-server
-XX:+DoEscapeAnalysis
-jar /home/pc/eclipse//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
I have the latest 2.9 scala plugin with Helios Eclipse.(Version: Helios Service Release 2 Build id: 20110218-0911)