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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

installing the sdk/jdk

Status
Not open for further replies.

sweetleaf

Programmer
Jan 16, 2001
439
CA
Hi,

I've attempted to download and install the sdk/jdk on my laptop many times and each time when i write the HelloWorld.java file and go to compile it (in the root C://) i get the same dos error: 'javac' is not a recognized term..

heres what i type:
javac HelloWorld.java

can anyone help me please?

Any help is greatly appreciated!
 
You have to add the Java bin directory to your path. Type:
path=c:\jdk1.3.1_02\bin
(this is just an example...type the path of your own Java bin directory - it may be different depending on where and what version you installed)

Hope this helps

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top