Java -version:spec does not work

Bug #1050911 reported by Mark Thornton
26
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.3.2-1ubuntu0.12.04.1)
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

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-7 (Ubuntu):
status: New → Confirmed
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.