Search:

Type: Posts; User: Sean4u

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    1,709

    Re: Cannot Find symbol error! On new Object

    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...
  2. Replies
    5
    Views
    1,709

    Re: Cannot Find symbol error! On new Object

    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...
Results 1 to 2 of 2