vmargs specified in "/usr/lib/eclipse/eclipse.ini" are ignored when starting Eclipse using the shell script "/usr/bin/eclipse", although "inotifywait -m /usr/lib/eclipse/eclipse.ini" shows that eclipse.ini is opened during start-up.
vmargs in "/usr/lib/eclipse/eclipse.ini" are used when starting Eclipse from its launcher "/usr/lib/eclipse/eclipse". "inotifywait" verifies the same file operations are performed on eclipse.ini as in the non-working case.
JVM version is the same in both cases:
$ /usr/bin/java -version
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) Server VM (build 1.5.0_08-b03, mixed mode)
$ /usr/lib/jvm/java-1.5.0-sun/bin/java -version
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) Server VM (build 1.5.0_08-b03, mixed mode)
Here are the complete command lines from each method of starting Eclipse. They were collected using "ps -efly | grep eclipse" and then cleaned up to show one parameter per line:
Binary package hint: eclipse
vmargs specified in "/usr/lib/ eclipse/ eclipse. ini" are ignored when starting Eclipse using the shell script "/usr/bin/eclipse", although "inotifywait -m /usr/lib/ eclipse/ eclipse. ini" shows that eclipse.ini is opened during start-up.
vmargs in "/usr/lib/ eclipse/ eclipse. ini" are used when starting Eclipse from its launcher "/usr/lib/ eclipse/ eclipse" . "inotifywait" verifies the same file operations are performed on eclipse.ini as in the non-working case.
JVM version is the same in both cases:
$ /usr/bin/java -version
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) Server VM (build 1.5.0_08-b03, mixed mode)
$ /usr/lib/ jvm/java- 1.5.0-sun/ bin/java -version
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) Server VM (build 1.5.0_08-b03, mixed mode)
Here are the complete command lines from each method of starting Eclipse. They were collected using "ps -efly | grep eclipse" and then cleaned up to show one parameter per line:
Eclipse started via script "/usr/bin/eclipse":
/usr/lib/ jvm/java- 1.5.0-sun/ bin/java library. path=/usr/ lib/jni precompiled. db.path= /var/lib/ gcj-4.1/ classmap. db runtime. VMClassLoader. library_ control= never eclipse/ startup. jar eclipse/ eclipse jvm/java- 1.5.0-sun/ bin/java library. path=/usr/ lib/jni gcj.precompiled .db.path= /var/lib/ gcj-4.1/ classmap. db gcj.runtime. VMClassLoader. library_ control= never locking= none eclipse/ startup. jar
-Djava.
-Dgnu.gcj.
-Dgnu.gcj.
-Dosgi.locking=none
-jar /usr/lib/
-os linux
-ws gtk
-arch x86
-launcher /usr/lib/
-name Eclipse
-showsplash 600
-exitdata 1178016
-install /usr/lib/eclipse
-vm /usr/lib/
-vmargs
-Djava.
-Dgnu.
-Dgnu.
-Dosgi.
-jar /usr/lib/
Eclipse started via launcher "/usr/lib/ eclipse/ eclipse" :
/usr/bin/java eclipse/ ./startup. jar eclipse/ ./eclipse eclipse/ ./startup. jar
-Xms40m
-Xmx512m
-jar /usr/lib/
-os linux
-ws gtk
-arch x86
-launcher /usr/lib/
-name Eclipse
-showsplash 600
-exitdata 11a8016
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx512m
-jar /usr/lib/