Java -version:spec does not work
Bug #1050911 reported by
Mark Thornton
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-7 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The command
java -version:1+ -version
should report a version which matches the specification (1+).
Error: Unable to locate JRE meeting specification "1+"
Which is wrong since
java -version
gives
java version "1.7.0_07"
OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
which is a version that does match that specification.
So whatever java uses as its list of java installations is not being populated by the openjdk-7 package installation.
The openjdk package version is 7u7-2.3.2-1
Ubuntu version is
Description: Ubuntu 12.04.1 LTS
Release: 12.04
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.