I have an assignment due on Friday, and I need to use Tomcat to do it properly. I have got it installed, but when I went to configure it with a HelloWorld.java file, I discovered that Javac would not work.
I don't want to change my path, because I just altered it for Tomcat, but will if I have to.
Any idea what I can do?
Javac Is Not Recognized as an Internal or External CommandTrying to get Tomcat 6 working
Page 1 of 1
1 Replies - 678 Views - Last Post: 31 March 2010 - 03:08 PM
#1 Guest_LongHairofDeath*
Javac Is Not Recognized as an Internal or External Command
Posted 31 March 2010 - 02:28 PM
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 March 2010 - 03:08 PM
All you should have to do is go into your environment variable settings, and add the location of you javac.exe file to your PATH variable. Its usually in the Bin folder.
Or you can do it through command
C:\foo\bar\> set PATH=%PATH%;C:\j2sdk1.4.2_01\bin
C:\foo\bar\> javac Filename.java
Replace C:\j2sdk1.4.2_01 with the actual path to bin\javac.exe
Or you can do it through command
C:\foo\bar\> set PATH=%PATH%;C:\j2sdk1.4.2_01\bin
C:\foo\bar\> javac Filename.java
Replace C:\j2sdk1.4.2_01 with the actual path to bin\javac.exe
Page 1 of 1
|
|

New Topic/Question
Reply
MultiQuote







|