Hi,
my name is Rory and I am brand new to
java.
I have decided to do the
SCJP 1.5 exam and I am thinking about doing the Cattle Drive to get some good background instead of studying solely for an exam pass.
I thought i understood the classpath option for sdk tools like java and javac but maybe not.
How can it be that if i type;
c:\>javac -classpath c:\javafiles\juggling Diabolo.java
I get;
error: cannot read: Diabolo.java
1 error
but if i type;
c:\>cd javafiles\juggling
c:\javafiles\juggling>javac Diabolo.java
It works!
I thought the classpath option would direct the compiler to the correct directory - what am I missing?