How can I tell which version of Javadoc Im running?
Javadoc does not actually have a version number contained anywhere in its executable or classes (tools.jar). By convention, we use the same version number for Javadoc as the JDK or SDK is it located in. Therefore, Java 2 SDK v1.2.2 contains Javadoc version 1.2.2. To find the Javadoc version, simply find the version of the java executable by executing “javadoc -J-version”. C:\> javadoc -J-version java version “1.3.0 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-U) Java HotSpot(TM) Client VM (build 1.3.0rc1-S, interpreted mode) –> Javadoc 1.2.2 gives this result: C:\> javadoc -J-version java version “1.2.2” Classic VM (build JDK-1.2.2-W, green threads, sunwjit) The letter “W” is the internal build letter. Javadoc 1.2 gives this result: C:\> javadoc -J-version java version “1.2” Classic VM (build JDK-1.2-V, green threads, sunwjit) Javadoc 1.1.8 gives something like this result: C:\> javadoc -J-version java version “1.1.8” To get the actual build letter for 1.1, use “-J