# javac command not located

I am attempting to compile a java program I located on the net and also it claims that I have to examine if javac is mounted. I mounted the JDK a long period of time ago so it should be functioning yet I get command not located mistake :

just how can this be settled?

0
2019-12-02 02:55:33
Source Share

First check if you still have the java compiler on your computer system.

Open a command punctual and also type

cd \

dir javac* /s


If it really did not locate any kind of documents, install the JDK to compile your java program.

0
2019-12-03 04:38:39
Source

You require to modify the environment variables, as stated by John T. The constructed in windows setting variable editor is sort of a discomfort, look into Rapid Environment Editor.

0
2019-12-03 04:29:36
Source

It resembles the javac executable can not be located due to the fact that you did not set your PATH setting variable to include it. This is a straightforward solution.

Given that you are plainly making use of Windows XP ...

• Right click "My Computer" and also select "Properties". (or Win+Pause)
• Go to the "Advanced" Tab
• Click the "Environment Variables" switch near all-time low of the dialog
• Under "User variables" for your account, there need to be a PATH variable, if there is not click "New" and also create it with the variable name PATH and also the value as the course to your jdk is bin directory site (something like C:\Program Files\Java\jdk1.6.0\bin, it is various in between installments so you will certainly need to examine C:\Program Files\Java for a jdk variation). If it currently exists yet is vacant, transform it to the course to your jdk is bin directory site. If it currently exists yet is NOT vacant, add a semicolon (;) in addition to the course to your jdk is bin directory site.

The value needs to resemble this :

If there were previous values, it needs to be divided with a semicolon thus :

0
2019-12-03 04:28:54
Source