setting javac...

Suspended
Joined
17 Mar 2004
Posts
4,934
Location
Market Drayton, Salop
lo all,

I really wanted to try the tutorials on java on the Sun website. Downloaded the latest version and installed, did the HelloWorldApp and saved it.

It then ask me to type the following into Command Prompt:

javac HelloWorldApp.java

which i did but it came up with the following:

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

Here is the tutorial link

It tells me to set the PATH variable to save me having to type it out every time. I must be stupid but i cant get it to work!!

If i try and manually enter the path i get the following:

'C:\Program' is not recognized as an internal or external command.

(java is installed in my program files folder)

Anyone any advice or suggestions??
 
Thanks, got it sorted now.

I swear they make it complicated on purpose, only reason i never learnt C++ was because my compiler had no manual/help file :(
 
Back
Top Bottom