The
Person class is definietly compiled, I have a
Person.class file.
The
Person.class file is in the subdirectory
classes, then
bytecode. The
classes subdirectory is in the same directory as the file I'm now trying to compile
FirstExercise.
The Person.java file that was compiled to Person.class has the following line at the top:
package classes.bytecode ;
The import statement imports files relative to the CLASSPATH, not the current path location.
I don't entirely understand what you mean by this. I tried using the following command
C:\ classpath=.java:javafc:classes:bytecode it didn't work.
I appreciate everyone's help on this, keep it coming. Getting very frustrated as I feel I've followed the books instructions to the letter and it's still not working, can't really continue untill i get this sorted.