Results 1 to 3 of 3
  1. #1
    simco99 is offline Member
    Join Date
    Jan 2012
    Posts
    3
    Rep Power
    0

    Default cannot find symbol, (java:5)

    I am new to Java programming, so I bought a book and have just written the first sample program as instructed, but I can't seem to get it to work. I have checked for my error, but I just don't see it. Now I have no idea what to do. Can anyone tell me what I have done incorrectly? Here is the info from the Comman/Prompt screen...


    C:\Users\myjava>javac hello.java
    hello.java:5: cannot find symbol
    symbol : method printIn(java.lang.String)
    location: class java.io.PrintStream
    System.out.printIn("Hello World");
    ^
    1 error

    (Just noticed that the arrow is not showing where it should be. It's actually right under the "." after "System")
    Last edited by simco99; 01-18-2012 at 08:15 PM.

  2. #2
    eRaaaa is offline Senior Member
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    786
    Rep Power
    5

    Default Re: cannot find symbol, (java:5)

    System.out.printIn !=
    System.out.println

    small "L" ! print line !

  3. #3
    simco99 is offline Member
    Join Date
    Jan 2012
    Posts
    3
    Rep Power
    0

    Default Re: cannot find symbol, (java:5)

    Quote Originally Posted by eRaaaa View Post
    System.out.printIn !=
    System.out.println

    small "L" ! print line !


    HOLY CRAP!!!! Don't I feel like an idiot!

    That worked. Thanks for the help eRaaaa!

Similar Threads

  1. TestPrintable.java:14: cannot find symbol
    By hoangx87 in forum New To Java
    Replies: 1
    Last Post: 03-24-2011, 12:51 AM
  2. Java cannot find symbol- variable img
    By crutchfieldj in forum New To Java
    Replies: 3
    Last Post: 04-13-2010, 10:47 PM
  3. java:34:cannot find symbol
    By MissyMadi in forum New To Java
    Replies: 5
    Last Post: 11-09-2008, 06:53 PM
  4. Replies: 9
    Last Post: 10-18-2008, 08:26 PM
  5. Replies: 3
    Last Post: 05-01-2008, 08:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •