Results 1 to 5 of 5
- 10-19-2012, 01:05 PM #1
Senior Member
- Join Date
- Jul 2012
- Posts
- 165
- Rep Power
- 1
javac not recognised as an internal or external command
I had this problem before but I managed to get it to work. I have since wiped my computer and re-installed the JDK and have this issue again.
java is recognised as a command (if I type it, the options appear).
javac comes up with the error in the title.
- 10-19-2012, 02:28 PM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Re: javac not recognised as an internal or external command
Are you sure you installed a JDK and not a JRE?
If so then you'll need to manually edit the PATH environment variable. This should have been done by the installation, TBH.
You'll need to add the path to the JDK bin directory.Please do not ask for code as refusal often offends.
- 10-19-2012, 06:35 PM #3
Senior Member
- Join Date
- Jul 2012
- Posts
- 165
- Rep Power
- 1
-
Re: javac not recognised as an internal or external command
You have not addressed Tolls' comment about adding the bin directory to the system path. This is necessary for success.
- 10-20-2012, 06:15 PM #5
Senior Member
- Join Date
- Jul 2012
- Posts
- 165
- Rep Power
- 1
Re: javac not recognised as an internal or external command
I forgot to add it to PATH, i couldn't find which environment variable I was meant to use. I came across websites telling me to create "lib" variables and psoting the path in there and all other sorts of variable. Thanks for the help, it works now.
Similar Threads
-
Maven: 'cmd' is not recognised as an internal or external command
By sibernewf in forum Advanced JavaReplies: 9Last Post: 06-27-2012, 09:31 AM -
'javac' is not recongnised as an internal or external command - help!
By Ricardo in forum New To JavaReplies: 19Last Post: 04-10-2012, 10:34 AM -
ava (and javac) iis not recognized as an internal or external command.
By Java-Idiot in forum New To JavaReplies: 1Last Post: 10-16-2011, 11:15 PM -
javac not recognized as an internal or external command
By kotoko in forum New To JavaReplies: 28Last Post: 10-26-2010, 04:39 AM -
'javac' is not recognized as an internal or external command
By sam_1032002@btopenworld.c in forum New To JavaReplies: 3Last Post: 10-18-2008, 02:40 AM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks