Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Compiling error-Java "cannot find symbol class io"

  • 15-07-2008 09: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
Advertisement