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 5 of 5

Thread: The infamous Hello World

  1. #1
    Junior Member
    Join Date
    Apr 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default The infamous Hello World

    Hello Fellow forumers. I am beginning my first program known to all as "Hello World". Unfortunatly I can't get it to work. I typed in dir in the command window and then I use javac and this happens:

    Help wanted! Thanks in advance!


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: The infamous Hello World

    Do you have write permissions to the directory/file? UAC usually prevents programs from writing to certain locations on the file system without running as administrator (assuming that your OS is vista/win 7).

    Please post your Java source code so we can take a look at it.

  3. #3
    Junior Member
    Join Date
    Mar 2010
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: The infamous Hello World

    I am sure that you are not using the exact syntax as you are the begginer. But don't you worry. Just post your sorce code and the file names that you have saved with. We will try our best to help you. Good Luck.

  4. #4
    Junior Member
    Join Date
    Apr 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: The infamous Hello World

    I have fixed the error and am now going on to more advance things. Thank you for help, i'll be back when I've done something importent!

  5. #5
    Junior Member
    Join Date
    Mar 2010
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: The infamous Hello World

    Good Luck then.........

Similar Threads

  1. the infamous null pointer applet problem
    By wolfgar in forum What's Wrong With My Code?
    Replies: 2
    Last Post: February 22nd, 2010, 08:09 PM
  2. hello world
    By fiZ in forum Member Introductions
    Replies: 1
    Last Post: January 20th, 2010, 09:46 AM
  3. System.out.println ("Hello world!")
    By ShaunB in forum Member Introductions
    Replies: 0
    Last Post: December 29th, 2009, 05:17 PM
  4. Drawing "Hello world" on screen
    By shikh_albelad in forum Java SE APIs
    Replies: 4
    Last Post: June 11th, 2009, 03:21 AM