Hey there, i know this isn't C++ related but you guys are excellent at helping. and im only doing this as a side project while learning C++ just to see a comparison between the 2 languages.
I installed Java JDK1.7.0_25. and am trying to compile a HelloWorld.java with /javac. but it keeps saying javac isn't a known internal or external command.
Even though i've added the location of the java bin (javac) folder to my environment variables btot system and user paths.
Still not working
Can anyone shed any light on why that might be? I've tried adding 4 of them in, each written differently with like /'s and \'s incase it wants it that way etc.
yeah i tried that. if i direct dos too the actualy java folder that contains javac, and paste my helloworld.java file in there. javac compiles it np. but when i do it from somewhere else, it says it doesn't know what im talking about "Javac?? wtf is that??" heh
yup it's printing it out as i've written it in the variables. tnxtnt, also giblit, i checked in x86 and there's no java folder there
this is crazy. the program can't be that badly coded that it can't even find itself when i tell it where it is...
is there a different application i can use like netbeans or something instead of typing in notepad and compiling in cprompt?
well netbeans doesn't work either... great! won't let me build anything. everything is just being underlines red saying it's an error. and won't let me define public class "public class name blah blah needs to be defined" screw java, im going with c++