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 trying to compile and run a test program from the command window. In order for it to work I have to put the entire directory location and "HelloWorld.java" at the C prompt. Is there something wrong with 1.6 that I can not simply use "javac HelloWorld.java" and "java HelloWorld"?
I have to input: C:\Program Files\Java\jdk1.6.0\bin>javac c:\JavaProjects\HelloWorld2.java
C:\Program Files\Java\jdk1.6.0\bin>java HelloWorld2 Hello, World