This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm taking a beginning Java course and our first assignment was to download the JDK and create a java file in Notepad to run. So far I've done the following:
1. Installed the current JDK
2. Set the PATH system variable to C:\Program Files\Java\jdk1.7.0_13\bin
3. Created the HelloWorld file in Notepad and saved it as a .java file under the C:\Java directory I created
4. Tried to run my program by changing the command prompt directory to C:\Java and then typing "java HelloWorld.java" which returns the attached error. I also tried "javac HelloWorld.java" which just returns the command prompt. I'm not sure the difference between using java vs. javac so if someone could explain that as well that would be helpful
I did notice that there is also a CLASSPATH system variable which is set to .;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip. I'm totally new to this stuff so not sure if that has anything to do with it. I'd really appreciate any help on this so I can get going on the class. Thanks!