2 Replies - 3616 Views - Last Post: 31 July 2011 - 04:26 PM
#1
‘javac’ is not recognized as an internal or external command
Posted 31 July 2011 - 04:07 PM
I'm now to java with the guide i have. i created a path when i use command prompt i reserve the massage ‘javac’ is not recognized as an internal or external command. what did i doe wrong?. blow is my attachment
Replies To: ‘javac’ is not recognized as an internal or external command
#2
Re: ‘javac’ is not recognized as an internal or external command
Posted 31 July 2011 - 04:11 PM
Either you don't have a JDK installed or you do, but it wasn't properly added to your path.
Note that the Java Runtime Environment (which you do have installed) does not include a java compiler, you'll need the Java Development Kit for that.
Note that the Java Runtime Environment (which you do have installed) does not include a java compiler, you'll need the Java Development Kit for that.
#3
Re: ‘javac’ is not recognized as an internal or external command
Posted 31 July 2011 - 04:26 PM
Start by navigating to your JDK bin file outside of the command prompt. On the top you should see all of the directories you went through to get there. Right click on that, copy it, and go to your control panel.
In the control panel, you should click on "System and security." From there, click "System."
On the left, you should click on "Advanced system settings." Click "Environment variables" at the bottom of the screen that pops up.
Where it says "System variables," scroll down and look for the "Path" variable. Double click that, and next to "Variable value," type a semicolon then paste what you copied.
Hope that worked.
In the control panel, you should click on "System and security." From there, click "System."
On the left, you should click on "Advanced system settings." Click "Environment variables" at the bottom of the screen that pops up.
Where it says "System variables," scroll down and look for the "Path" variable. Double click that, and next to "Variable value," type a semicolon then paste what you copied.
Hope that worked.
Page 1 of 1

New Topic/Question
Reply


MultiQuote


|