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

java:reading input error?

  • 07-10-2006 1:03pm
    #1
    Posts: 0


    hi i just installed textpad, tried running a simple program which reads one line of input but i get an error telling me it cant find the console reader

    ".java:5: cannot find symbol symbol : class consoleReader location: class Convert ConsoleReader console = new consoleReader(System.in);"

    and the console reader is in the same folder which i saved my program in and its compiled..??
    help.. :roll:


Comments

  • Closed Accounts Posts: 198 ✭✭sh_o


    java is case sensitive - It may be that the name of the file is different from the class name?
    Upload the full code and it can be checked.


  • Registered Users, Registered Users 2 Posts: 21,264 ✭✭✭✭Hobbes


    consoleReader(System.in);

    should be..

    ConsoleReader(System.in);

    If you used Eclipse it would highlight this straight away and allow you to autocorrect.


Advertisement