[Bug 494065] [NEW] eclipse 3.5.1 in Karmic does not respect JAVA_HOME anymore
Oliver Joos
oliver.joos at schweiz.org
Tue Dec 8 15:26:08 UTC 2009
Public bug reported:
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,
$JAVA_HOME/bin/java from $HOME/.eclipse/eclipserc and
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~1-0ubuntu3 to run with another JVM.
$HOME/.eclipse/eclipserc seems not to be interpreted either. At least
the script "/usr/bin/eclipse" does not do this. Both worked in earlier
Ubuntu/Eclipse releases.
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/.eclipse/eclipserc and then starting eclipse with "-vm
$JAVA_HOME/bin/java". Or at least the man page should be corrected.
Using "update-alternatives --config java" is not adequate, because this
changes the JVM for *every* installed Java app.
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~1-0ubuntu3
ProcEnviron:
PATH=(custom, user)
LANG=de_CH.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.52-generic
SourcePackage: eclipse
Uname: Linux 2.6.31-16-generic i686
** Affects: eclipse (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386
--
eclipse 3.5.1 in Karmic does not respect JAVA_HOME anymore
https://bugs.launchpad.net/bugs/494065
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list