Bug#353360: eclipse: Should respect Java in /etc/alternatives
Michael Koch
konqueror at gmx.de
Fri Feb 17 19:42:41 UTC 2006
On Fri, Feb 17, 2006 at 01:04:36PM -0500, Stephen Touset wrote:
> Debian's alternatives system exists for a reason, and should not be
> circumvented by packages choosing their own Java VM. Unless there's a
> compelling reason to keep /etc/eclipse/java_home around, Eclipse should
> default to using whichever Java is specified in /etc/alternatives.
The alternates system doesnt fit into the Java world. Eclipse needs more
then just the java runtime binary. It needs whole Java Runtime
environment.
The solution with /etc/eclipse/java_home is an interim solution until we
have a more generic solution.
> For those who may wish to run Eclipse under alternate VMs (and who
> already do so), Eclipse could use a configuration option, flag, or
> environment variable to choose a different Java VM.
In Debian applications must work without the setting of an environment
variable. That's a must set by the Debian Policy. This doesn't really
fit into the Java world unfortunately. Therefore we created the
/etc/eclipse/java_home and ~/.eclipse/eclipserc solution.
Cheers,
Michael
--
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
Join the community at http://planet.classpath.org/
More information about the pkg-java-maintainers
mailing list