I'm trying to compile java program from command prompt.
It gives javac is reserved word.
I'm using C:\java\j2re1.4.1_02.I already set the classpath to bin folder
what's happening?
Printable View
I'm trying to compile java program from command prompt.
It gives javac is reserved word.
I'm using C:\java\j2re1.4.1_02.I already set the classpath to bin folder
what's happening?
What are you typing into the prompt when you get that message.
Do you use word 'javac' in your source code? If you do, change it to other word.
Also, set the classpath on the command line:
javac -classpath . filename.java
'.' means your current working directory.