Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use javadoc?

Status
Not open for further replies.

jisoo23

Programmer
Jan 27, 2004
192
US
Hello,

I'm having trouble running Javadoc for the first time. When I call it in the command prompt, it says:

'javadoc' is not recognized as an internal or external command, operable program or batch file.

I have the latest JDK installed (1.4.2), does anyone know how to properly set up javadoc? I kind of thought it worked by default.

Thanks,
Jisoo23
 
You need to set your PATH environment variable.

(in command line console)

set JAVA_HOME=C:\where_my_sdk_is
set PATH=%PATH%;%JAVA_HOME%\bin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top