Installation of the package breaks automatic version detection
Bug #155852 reported by
Daniel Cardin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sun-java6 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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+"
Changed in sun-java6 (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
where is this naming convention used/followed?