manpage for eclipse 3.5.1 in Karmic badly outdated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eclipse (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: eclipse
$ man eclipse # says:
...
NOTES
Eclipse will search for a java virtual machine in this order:
VM given with the "-vm <JVM>" argument,
then in the environment
and at last use /usr/bin/java.
In an up-to-date Karmic 9.10 only "-vm <JVM>" works. $JAVA_HOME does not make eclipse 3.5.1+repack~
If this change is intended in Eclipse 3.5.x by Sun or whoever, Ubuntu could emulate the old behavior in the script "/usr/bin/eclipse" by sourcing $HOME/.
Using "update-
ProblemType: Bug
Architecture: i386
Date: Tue Dec 8 15:44:45 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: eclipse 3.5.1+repack~
ProcEnviron:
PATH=(custom, user)
LANG=de_CH.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: eclipse
Uname: Linux 2.6.31-16-generic i686
Related branches
Changed in eclipse (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in eclipse (Ubuntu): | |
importance: | Undecided → Medium |
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