Javac Command Not Recognized

Jack92399

Honorable
Mar 22, 2013
40
0
10,530
Hey Everybody,
I tried to make a simple helloworld program and everything was workin good until i got to the compiling part. I would type in javac Helloworld.java. It would then say Javac is not recognized as an internal or external source, program, or batch file.

What should i do?
 

Jack92399

Honorable
Mar 22, 2013
40
0
10,530
your solution didn't really work for me i don't understand what i am supposed to put as my classs path. I understand you go to enviormental variables but then what
 

marshallbradley

Honorable
Sep 24, 2012
746
0
11,060
You need to add ;C:\Program Files (x86)\Java\jdk1.7.0\bin onto the end of the current environmental variables (or run C:\Program Files (x86)\Java\jdk1.7.0\bin\javac HelloWorld.java in the commandline). This is all assuming you're running JDK 1.7.0.

M
 

marshallbradley

Honorable
Sep 24, 2012
746
0
11,060
Any of the Java ones should work. There's plenty of documentation out there, if you want to program you have to be prepared to read some of it :p. Just go for the Classic version.

M