Typical tools in java.home/bin display version information to stdout, stderr.
However jvisualvm opens a window at times SQE and support personnel
may need to ssh to get this information, and this information is critical for products
such as visualvm, where it is being developed outside of the JDK and the binaries
are dropped into the JDK.
The tool needs to support both -version and -fullversion
for ex:
% javac -version
javac 1.6.0_21 // this is a succinct version info.
% javac -fullversion
javac full version "1.6.0_21-b06" // can include more info ex: the visualvm vs. jvisualvm info.
Note: this tool has been black listed in this set of tests:
jdk/test/tools/launcher/VersionCheck.java when this is fixed that test needs
to be modified and jvisualvm removed from the appropriate BLACK_LIST.
However jvisualvm opens a window at times SQE and support personnel
may need to ssh to get this information, and this information is critical for products
such as visualvm, where it is being developed outside of the JDK and the binaries
are dropped into the JDK.
The tool needs to support both -version and -fullversion
for ex:
% javac -version
javac 1.6.0_21 // this is a succinct version info.
% javac -fullversion
javac full version "1.6.0_21-b06" // can include more info ex: the visualvm vs. jvisualvm info.
Note: this tool has been black listed in this set of tests:
jdk/test/tools/launcher/VersionCheck.java when this is fixed that test needs
to be modified and jvisualvm removed from the appropriate BLACK_LIST.