Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Compiling error-Java "cannot find symbol class io"

Options
  • 15-07-2008 9:26pm
    #1
    Registered Users Posts: 5,398 ✭✭✭


    Hello,

    I have this "import java.util.io;" in a java class and it's not compiling

    Any ideas?
    googled the error and all the suggestions don't really make sense(My Computer Icon, right click and select Properties
    Go to "Advanced" tab and click "Environment variables" button
    In the "Environment Variables" dialog, add new system variable
    called CLASSPATh)


    Cheers
    N


Comments

  • Closed Accounts Posts: 81 ✭✭dzy


    There is a java.util package and a java.io package but no java.util.io package. Thats why its not compiling. Its trying to find a class io in the java.util package and no such class exists.


  • Registered Users Posts: 5,398 ✭✭✭MIN2511


    dzy wrote: »
    There is a java.util package and a java.io package but no java.util.io package. Thats why its not compiling. Its trying to find a class io in the java.util package and no such class exists.

    Yeah found that....
    Thanks

    import java.io.*;


  • Closed Accounts Posts: 81 ✭✭dzy


    You're welcome.


Advertisement