← Back to team overview

openjdk team mailing list archive

[Bug 1050911] [NEW] Java -version:spec does not work

 

Public bug reported:

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

** Affects: openjdk-7 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1050911

Title:
  Java -version:spec does not work

Status in “openjdk-7” package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1050911/+subscriptions


Follow ups

References