Comment 4 for bug 38748

Revision history for this message
PomCompot (pomme-compote-launchpad) wrote : Re: eclipse JVM/gcj don't use same configuration

Moreover, using Eclipse 3.2.2 on Hardy (Build id: M20070212-1330 (Ubuntu version: 3.2.2-5ubuntu2)), Eclipse use by default the GCJ JVM and doesn't ask for workspace whatever the value of SHOW_WORKSPACE_SELECTION_DIALOG in ~/.eclipse/org.eclipse.platform_3.2.0/configuration/.settings/org.eclipse.ui.ide.prefs. It's an obvious bug due to the GCJ JVM because it doesn't appear with the Sun JVM.

Globally, I think that the default order of the preferred JVM in the file /etc/eclipse/java_home is not the better choice. I already have problems with Eclipse 3.0 which was very slow with the gcj version. Now, I got this problem with workspace location dialog which doesn't appear. I personally think that the order hereunder must be the default one (with gcj and kaffe at the end) :

#/usr/lib/jvm/java-7-icedtea
/usr/lib/jvm/java-6-sun
/usr/lib/jvm/java-1.5.0-sun
/usr/lib/j2se/1.5
/usr/lib/j2se/1.4
/usr/lib/j2sdk1.5-ibm
/usr/lib/j2sdk1.4-ibm
/usr/lib/j2sdk1.6-sun
/usr/lib/j2sdk1.5-sun
/usr/lib/j2sdk1.4-sun
/usr/lib/jvm/java-gcj
/usr/lib/kaffe/pthreads