Most people (and the Oracle website) seem to refer to the JDK version as a single digit, like "Java SE Development Kit 7."
However, the output of javac -version
is of the format: javac 1.6.0_24
I suspect, but would like some verification that the second digit, 6 in this case, refers to the JDK version. Is this correct, or is there another way to determine the single-digit JDK version?