Im an absolute beginner to Java and im learning from
Beginning Java by Ivor Horton
I installed JDK 7 and did change the path variable to point to the bin directory in the root folder.
however when i issue this command from cmd, I get this error
Command: javac MyProgram.java
Error: file not found.
Now this is not posible cause I have checked that the file is there.
The same thing seems to work fine with Jcreator LE.
So my two questions are:
1. How do I resolve this javac error?
2. If I want to save all my source codes to another directory (lets assume a directory named SourceCode on Desktop) then what changes have to be made???
ps: Im an absolute noob.
Beginning Java by Ivor Horton
I installed JDK 7 and did change the path variable to point to the bin directory in the root folder.
however when i issue this command from cmd, I get this error
Command: javac MyProgram.java
Error: file not found.
Now this is not posible cause I have checked that the file is there.
The same thing seems to work fine with Jcreator LE.
So my two questions are:
1. How do I resolve this javac error?
2. If I want to save all my source codes to another directory (lets assume a directory named SourceCode on Desktop) then what changes have to be made???
ps: Im an absolute noob.