I am trying to compile a java program I found on the internet and it says that I must check if javac is installed. I installed the JDK a long time ago so it should be working but I get command not found error:

how can this be resolved?
|
I am trying to compile a java program I found on the internet and it says that I must check if javac is installed. I installed the JDK a long time ago so it should be working but I get command not found error:
how can this be resolved? |
||||
|
|
|
It looks like the Since you are clearly using Windows XP...
The value should look like this:
If there were previous values, it should be separated with a semicolon like so:
|
||||
|
|
|
First check if you still have the java compiler on your computer. Open a command prompt and type
If it didn't find any files, install the JDK to compile your java program. |
|||
|
|
|
You need to edit the environment variables, as mentioned by John T. The built in windows environment variable editor is kind of a pain, check out Rapid Environment Editor.
|
|||||||||||
|