davidB'log

My Eclipse Setup


Since 2000, I’m a eclipse user, mainly for java coding. This article is a live article ( == I’ll update it) I’ll use to list and to memorize my eclipse setup (plugins, ini, preferences,…).

Since 2010 (since I stop coding in scala 2.7.x), I use it for my Scala dev. Previously, I used JEdit, emacs, netbeans - 6 month min each and 1 month for IntelliJ.

As text editor I also used : JEdit (this article is writing with it), SciTE and gnu nano

Eclipse version : 3.5.2 for Linux 64bit + JDK 1.6.0_20 64 bit (Sun)

Ini

My eclispe.ini file.

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
384m
-vmargs
-server
-XX:PermSize=256m
-XX:MaxPermSize=384m
-Xss2m
-Xms512m
-Xmx2g
-XX:MaxGCPauseMillis=10
-XX:+ScavengeBeforeFullGC
-XX:-UseParallelOldGC
-XX:+HeapDumpOnOutOfMemoryError
-XX:+CMSClassUnloadingEnabled
-Duser.name=david.bernard
-Dosgi.requireJavaVersion=1.6
-Declipse.p2.unsignedPolicy=allow
#-Xms256m
#-Xmx1024m
#-Xss1m
#-server
#-XX:+UseConcMarkSweepGC

References :

I use different memory setup, because I’ve ‘only’ 4Go Ram and a 64bit machine, and when start launch eclipse to test/debug my eclipse plugin. With higher values for -Xms, I got lot of error about memory.

Plugins