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

Basic Java #2 - "Hello World"

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
164 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 1, 2012

In this tutorial I'll be covering the Hello World program, the most basic program you can make in any programming language. After this tutorial I want you to understand what a class is, what a method is and what a comment is.

I apologize that this video is a slide show rather than a normal recording but I had some technical problems with camstudio and didn't want to rerecord and reedit the tutorial section.

Be sure to tune in next Wednesday for the 3rd tutorial where we'll be covering Primative Data Types

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (SynforgeGames)

  • Does not work, i have compliled it and when i type:

    java HelloWorld

    it gives me an error

  • @AmarathOnline what did the error say?

    System also needs to be capatilized. When you're following the tutorial you have to watch out for case because java is very strict on case

  • @SynforgeGames I have no idea what was happening so i downloaded Eclipse and it somehow works in there but only when i changed the version of java i use.

  • @AmarathOnline it shouldn't make a difference whether you use eclipse or not. Tell me what the error was or look it up so I can tell you what you did wrong. Did you update java like it my first video? I can't imagine why a different version would make a difference since the version I use is one of the newest versions

  • @SynforgeGames I can't remember what it said something like can't find main variable or something. I don't know why i looked it up and i can't find any answers but there are other people having the problem.

  • @AmarathOnline that's weird, according to that error I would say you made a typo when copying the definition to your main method but I don't see any typos other than the ones I mentioned earlier. Did you try recompiling it with String & System capitalized?

see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • @SynforgeGames Yes i did recompile it, and since it works on eclipse i don't believe there is any typo. Oh well don't worry i will just have to use eclipse.

  • @AmarathOnline String needs to be capatilized

  • this is not working:

    public class HelloWorld{

    public static void main(string args[]){

    system.out.println("HelloWorld­"); //prints stuff out

    }

    }

  • I need help if your there can you go on skype, p.s This is GameTutorialsMaker1

Loading...

Alert icon
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