Public bug reported:

the ubuntu packages for java install to /usr/lib/jvm using a pattern
like this :

java-6-sun  (symlink)
java-6-sun-1.6.0.03

However, proper jvm detection is done using the pattern

jdkVERSION
jreVERSION

Second problem, the directory is named [...].0.03 where the convention
seems to be to use an underscore.

so at the very least there should be a symlink jre1.6.0_03 to
java-6-sun-1.6.0.03

This will make the following command work correctly :

$ java -version:1.6+ -version

java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode)

instead of:
Unable to locate JRE meeting specification "1.6+"

** Affects: sun-java6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Installation of the package breaks automatic version detection
https://bugs.launchpad.net/bugs/155852
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to