/usr/share/java-common/jvm-find.sh removed from java-common

Bug #398273 reported by Jared Luxenberg
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
java-common (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: java-common

The "/usr/share/java-common/jvm-find.sh" file has been removed from the java-common package. How should my scripts find JAVA_HOME for the default JVM now?

Revision history for this message
Niels Thykier (niels-thykier) wrote :

Hi

default-jre-headless provides a default-java symlink in /usr/lib/jvm which is the "default java" for Debian and Ubuntu systems. Alternatively you can probably use a mix of readlink -f + dirname to find the JAVA_HOME for the current system (assuming there is no other java in path).

There has also been an interest in creating a sensible-java command[1], which might be useful for you. However it has not been implemented, there is a mail thread on it on the debian-java list[2].

~Niels

[1] http://wiki.debian.org/Java/SensibleJava

[2] http://lists.debian.org/debian-java/2010/05/msg00014.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.