You could alternatively comment out the 'package' statement at the top of your files. Your problem is caused by Java's package<->filepath mapping. When you compile Fraction.java the way you're doing...
Type: Posts; User: Sean4u
You could alternatively comment out the 'package' statement at the top of your files. Your problem is caused by Java's package<->filepath mapping. When you compile Fraction.java the way you're doing...
try using the -d option with javac to tell it where the root of the output class path is:
javac - Java programming language compiler
. should be okay if you don't mind your classes being output...