Thank you for your bug report and for helping making eclipse in Ubuntu better. The short story is "only -vm is supposed to work" and the manpage is out of date.
The use of JAVA_HOME and .eclipse/eclipserc were Debian/Ubuntu workarounds since /usr/bin/java (at that time usually gcj) tended to give a lot of problems with eclipse. These days /usr/bin/java is by default provided by openjdk6, which is in a lot better shape.
I will leave this bug open until the manpage has been updated.
Out of interest, which java provides your /usr/bin/java and which one do you want to use for eclipse?
Hi
Thank you for your bug report and for helping making eclipse in Ubuntu better. The short story is "only -vm is supposed to work" and the manpage is out of date.
The use of JAVA_HOME and .eclipse/eclipserc were Debian/Ubuntu workarounds since /usr/bin/java (at that time usually gcj) tended to give a lot of problems with eclipse. These days /usr/bin/java is by default provided by openjdk6, which is in a lot better shape.
I will leave this bug open until the manpage has been updated.
Out of interest, which java provides your /usr/bin/java and which one do you want to use for eclipse?
~Niels