Java 01: Hello World
Uploader Comments (gorilla3d)
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!
All Comments (21)
-
@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
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??
Gitarmafia 3 years ago 2
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.
gorilla3d 3 years ago
Thanks, Eclipse has this as well but it seems a bit more clunky and slower
gorilla3d 4 years ago