Results 1 to 4 of 4
  1. #1
    jaminee is offline Member
    Join Date
    Jul 2010
    Posts
    7
    Rep Power
    0

    Default Need Some Help Please.

    I wrote the code in jCreator.

    file name is HelloApp.java
    code is:


    public class HelloApp
    {
    public static void main(String[] args)
    {
    System.out.println(“Hello, World!”);
    }
    }

    when i compile this error come.

    --------------------Configuration: <Default>--------------------
    C:\jwork\HelloApp.java:5: illegal character: \8220
    System.out.println(“Hello, World!”);
    ^
    C:\jwork\HelloApp.java:5: ';' expected
    System.out.println(“Hello, World!”);
    ^
    C:\jwork\HelloApp.java:5: illegal start of expression
    System.out.println(“Hello, World!”);
    ^
    C:\jwork\HelloApp.java:5: ';' expected
    System.out.println(“Hello, World!”);
    ^
    C:\jwork\HelloApp.java:5: illegal character: \8221
    System.out.println(“Hello, World!”);
    ^
    5 errors

    Process completed.


    Please help me .
    Last edited by jaminee; 07-08-2010 at 10:31 AM. Reason: Enter more text

  2. #2
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

    Default

    You get a no hotlink error?!

    What happened to your other thread?
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

  3. #3
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,658
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by jaminee View Post
    I wrote the code.

    file name is HelloApp.java
    code is:


    public class HelloApp
    {
    public static void main(String[] args)
    {
    System.out.println(“Hello, World!”);
    }
    }

    when i compile this error come.
    Please help me .
    You probably copied and pasted that code from some electronic text book: the double quotes are incorrect; you need " instead of “ or ”.

    kind regards,

    Jos

  4. #4
    jaminee is offline Member
    Join Date
    Jul 2010
    Posts
    7
    Rep Power
    0

Posting Permissions

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