-
Command Line Error
I've followed some of the basic tutorials provided by some helpful people on youtube. However I am getting an error everytime I run a java program.
The program is called System.java, so when I try to run it using the command line with:
javac System.java
I get the following message.
'javac' is not recognixed as in internal or external command, operable program or batch file.
Any ideas on what I shoudl do or what I'm doing wrong?
-
First change name of "System.java" to anything else you like
but do not use Java language reserved words like System for that purpose.
Second using javac problems was issue here on forum few days ago
do check this thread where you will find answer:
http://www.java-forums.org/new-java/...vac-error.html
regards
-
Quote:
Originally Posted by
FON
regards
I must say first off, I'm very very impressed with the speed of response. Secondly, thank you for the help I'll have a look at the thread. Finally, most of the guys in my class look for sites for Java help, I'll be letting them now about this place.
-
'JAVAC' is not recognized as an internal or external command, operable program or batch file.
-
How to set class-path for jdk6 in environment variables
-
@venkateshn313: It is better to start your own thread for your own question.
Did you read the link given above?
If you are still having problems, post the actual command you are using and copy and post the output that results.
The "is not recognized as an internal or external command, operable program or batch file" windows message has nothing to do with the value of classpath environment variables. (See Fon's reply, #5 in the thread already linked to)