R
Roedy Green
Under Java 1.4.2 on XP that reports..
<http://www.physci.org/eg/dos.jsp?text=C:\>javac+-version javac:+invalid+flag:+-version >
Are you sure that javac
reports a version at all?
only java.exe has a -version option. This is done to help prevent
people from successfully managing more than one JVM at a time.
I have asked sun several times for a -version on everything.
e.g.
keytool javaw javac policytool
to prevent getting the wrong one.