Results 1 to 8 of 8
Thread: javac not recognized
- 09-19-2012, 11:25 PM #1
Member
- Join Date
- Sep 2012
- Posts
- 4
- Rep Power
- 0
javac not recognized
Hello,
For my programming class at college, I am required to write code in java in a text editor and then, utilizing the command prompt, compile and run that java file.
However, when I try to compile the java program using javac, I get "'javac' is not recognized as an internal or external command, operable program or batch file."
I realize that this is most likely a problem with the "path" environment variable. But when I tried adding ;C:\Program Files\Java\jdk1.6.0_33\bin; to the end, command prompt still failed to recognize javac. I am using java version 6, update 33 because I am running a 32-bit system, and the newest version of java is only made for 64-bit systems.
I have tried everything I can think of, have googled relentlessly, and can't seem to figure out what I am doing wrong. Any help with this would be greatly appreciated.
- 09-20-2012, 12:09 AM #2
Student
- Join Date
- Jul 2012
- Location
- United States
- Posts
- 328
- Rep Power
- 1
Re: javac not recognized
Did you restart command prompt after updating your path variable?
"Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill
- 09-20-2012, 12:20 AM #3
Member
- Join Date
- Sep 2012
- Posts
- 4
- Rep Power
- 0
Re: javac not recognized
yes, I made sure to do that. Got all excited when I thought of it, too. But it still doesn't work!
I'm looking for the path file, and noticed that I seem to have installed the jre instead of the jdk...but I can't seem to find a jdk for 32 bit.Last edited by kris972; 09-20-2012 at 12:50 AM.
- 09-20-2012, 12:32 AM #4
Member
- Join Date
- Sep 2012
- Posts
- 4
- Rep Power
- 0
Re: javac not recognized
should I try restarting my computer, or would that not do anything?
- 09-20-2012, 02:48 AM #5
Re: javac not recognized
Nonsense. I have 1.7.0_06, on a 32-bit system. Where did you pick up this misinformation?I am using java version 6, update 33 because I am running a 32-bit system, and the newest version of java is only made for 64-bit systems.
Have you located the javac.exe file?
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 09-20-2012, 06:26 AM #6
Student
- Join Date
- Jul 2012
- Location
- United States
- Posts
- 328
- Rep Power
- 1
Re: javac not recognized
Possibly the fact that the 32-bit download is labelled as X86 rather than X32 on the download page.
"Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill
- 09-21-2012, 01:44 AM #7
Member
- Join Date
- Sep 2012
- Posts
- 4
- Rep Power
- 0
Re: javac not recognized
yeah, that was it. man, now i feel stupid. haha. well, i ended up fixing it by downloading that 32-bit version of the jdk. thanks for the help.
- 09-21-2012, 07:11 AM #8
Member
- Join Date
- Aug 2012
- Posts
- 1
- Rep Power
- 0
Re: javac not recognized
So, the issue is sorted out with locating the java file.Great.
------------------
production scheduling
Similar Threads
-
javac is not recognized
By double_007 in forum New To JavaReplies: 10Last Post: 09-07-2012, 02:26 AM -
'javac' is not recognized
By adm in forum New To JavaReplies: 2Last Post: 01-31-2012, 09:24 AM -
Javac not recognized
By OscarLiu in forum New To JavaReplies: 8Last Post: 06-29-2010, 03:10 PM -
Javac is not recognized?
By Java idiot in forum New To JavaReplies: 4Last Post: 08-03-2009, 06:54 PM -
javac command not recognized
By sunshine39 in forum New To JavaReplies: 7Last Post: 03-04-2009, 03:54 AM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks