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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Compiling error-Java "cannot find symbol class io"

  • 15-07-2008 8:26pm
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 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