Hello, everyone...
I'm brand new to
Java and programming in General.....I am running a MacBook Pro with Parallels 7 for Mac and have D/L Windows 7 to that....I then D/L the latest JDK1.7.0_09 along with JRE7 and NetBeans 7.2 to Parallels..purchased Dr. Y. Daniel Liang's book "Introduction to Java Programming, 9th Edition, Comprehensive, which also includes a MyProgrammingLab....so,
I am slowly understanding NetBeans, however, am trying to utilize the Command Prompt to compile and run my first "Welcome to Java" program per my homework assignments. When I attempt to compile javac I receive the error "is not recognized as an internal or external command, operable program or batch file." OMGosh! when trying java -version, I now see:
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
C:\Users\Administrator>
My Environment Variables for path is "JAVA_HOME C:\Program Files\Java\jdk1.7.0_09\bin;
My System Variable for path is "OT%\System32\WindowsPowerShell\v1.0\
For what its worth, I can't seem to find the javac.exe in "C:\ Program Files\Java\jdk1.7.0_09 of jre7....is it possible that I installed the JDK/JRE to Parallels 7 instead of to the Mac? Installed by default to Program Files and not Program Files x86? Incorrect paths? Whew! Afraid I've bitten off a bit more than I can chew at this point....thanks for any and all support and replies!
Eddie Gerlach
Mt. Dora, Florida