Having a HUGE problem compiling

Anthony Duncan

Greenhorn

Posts: 3

posted 16 years ago

I am using Java SDK 1.3, and I am using a tutorial bookto tell me what to do. In the book it tells me to compile Saluton.java by tyipng, when in directory "javac Saluton.java" without the speechmarks though. When I do this however I get an error message saying "Bad command or file name" What am I doing wrong? I have installed SDK version 1.3.0_02 Please help Thanks

Ramesh Phankir

Greenhorn

Posts: 4

posted 16 years ago

have you set up your PATH & CLASSPATH ?

Anthony Duncan

Greenhorn

Posts: 3

posted 16 years ago

No, what do I have to do to do that

Ramesh Phankir

Greenhorn

Posts: 4

posted 16 years ago

WIndows NT 4.0 1.Double click on MyComputer icon 2.Click on Control-Panel icon 3.Double click on System icon 4.Click the Environment tab 5.Under the user variables set Path=c:\java_home(where you installed java)\bin;%PATH% 6.Set ClassPath=c:\java_home\lib;.;(or the classpath specified by the product you want to install)