Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Syntax error with simple application.

  1. #1
    Junior Member
    Join Date
    Jul 2013
    Posts
    2
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Syntax error with simple application.

    I use Eclipse and the "printIn" command in the following code has a syntax error and is underlines red ,
    "

    public class FirstJavaProperApplication
    {
    public static void main(String[] args)
    {

    System.out.printIn("First Java Application") ;

    }
    }












    "


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    3,475
    My Mood
    Mellow
    Thanks
    87
    Thanked 484 Times in 475 Posts

    Default Re: Syntax error with simple application.

    Your "printIn" has a capital 'I' as in Ivan. The letter is supposed to be a lower case 'L' as in lion or line.

    I recommend you choose a font in your editor that clearly shows these subtle differences.

  3. The Following User Says Thank You to GregBrannon For This Useful Post:

    THE ULTIMATE CYBER MACHIN (July 17th, 2013)

  4. #3
    Junior Member
    Join Date
    Jul 2013
    Posts
    2
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Re: Syntax error with simple application.

    Thanks!

Similar Threads

  1. Syntax error on Token else?
    By SgtGarrison in forum Loops & Control Statements
    Replies: 15
    Last Post: March 20th, 2013, 06:26 AM
  2. Please help not sure how to get past the Syntax error
    By KnightC in forum Other Programming Languages
    Replies: 2
    Last Post: December 23rd, 2011, 09:09 AM
  3. MySQL Syntax Error
    By tarkal in forum What's Wrong With My Code?
    Replies: 6
    Last Post: November 30th, 2011, 02:29 PM
  4. Syntax error with dispose()
    By jagnat in forum AWT / Java Swing
    Replies: 1
    Last Post: October 14th, 2011, 11:00 AM
  5. do while syntax error problem
    By derekxec in forum What's Wrong With My Code?
    Replies: 5
    Last Post: July 1st, 2011, 06:30 PM