Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Java 01: Hello World

Loading...

Sign in or sign up now!
43,689
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 12, 2007

Simple Hello World in Java 1.6 with NetBeans 5.5.1 beta

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 4 dislikes

Link to this comment:

Share to:

Uploader Comments (gorilla3d)

  • thanks alot i feel that i finaly have started to program.. but how can i save this application on my desktop so i can run it as a program??

  • Well, when you build it in Netbeans it creates a Jar file. Jar files are universal in Java, its basicly an executable zip file. But the mime-type need to be correctly set to run it. If not go to DOS or a terminal, and then run "java -jar helloworld.jar". The jar file is located in the Netbeans Project Folders. Example is "My Documents/Netbean Projects/helloworld/dist" or it might be "build" folder.

  • Thanks, Eclipse has this as well but it seems a bit more clunky and slower

Top Comments

  • He's using Windows 98 (hence, it can be assumed its a slow machine) unlike you computer freak :P working on a Dual or Quad core processor ;)

  • Thanks for this!

see all

All Comments (21)

Sign In or Sign Up now to post a comment!
  • @InfiniteMultiMedia all his program does is show the text "Hello World"

  • Why does the video zoom in so much? The material you covered is great though.

  • this is cool FOGTALK 92%

  • HelloWork :DDDDDDD

  • can someone tell me something

    i really dont get it

    its not like ur running an program are you?

    its just an text showing 'hello world'

  • how do you change de theme

  • Exception in thread "main" java.lang.RuntimeException: Uncompilable source code  at helloworld.Main.main(Main.java­:18)

    Java Result: 1

    BUILD SUCCESSFUL (total time: 2 seconds)

    I get this error what now?!

  • For beginners,it is highly recommended to avoid the use of an IDE, as you will fail to unerstand the basic workings of java as much is done for you. Furthermore you will not be able to learn from your mistakes, as the IDE will simply suggest a correction rather than get you to work out the issue. What annoyed me here is that you said "ignore all that package and stuff" (or something to that effect) , really this is not good Java teaching, things like this are core to Java

  • lol no eclipse isnt easy it sucks

    Notepad ++ usually works good on every thing

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more