Java Tutorial 1 : First Application

Loading...

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

Uploaded by on Jan 10, 2010

Java is a great language for doing certain things. It's the language I grew up on, and so I'm a little biased, but you could do a lot worse as it's pretty well known and easy to use for what it can do.

NOTE:
If you are getting this error:
"'javac' is not a recognized as an internal or external command, batch file or operable program."

It is because you do not have the JDK (Java Development Kit) installed. Because this tutorial is meant for all platforms (Mac, Windows, Linux, etc) I do not show how to download and install the JDK as it is different for each operating system. In order to fix this error, just look for a good tutorial on youtube by searching for "download and install jdk on windows" or "... on mac" or "on ubuntu" etc...

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (TruthBeautyGoodness)

  • Liiihhhhnix ;)

Top Comments

  • when i di javac HelloWorld it says that it cannot find the symbol and the arrow points at the dot between out and printIn

    what should i do??

  • Exception in thread "main" java.lang.NoClassDefFoundError­: Wtf/java

    Caused by: java.lang.ClassNotFoundExcepti­on: Wtf.java at java.net.URLClassLoader$1.run(­URLClassLoader.java:202) at java.security.AccessController­.doPrivileged(Native Method) at java.net.URLClassLoader.findCl­ass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClas­s(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoad­er.loadClass(Launcher.java:301­) at java.lang.ClassLoader.loadClas­s(ClassLoader.java:247)

see all

All Comments (101)

Sign In or Sign Up now to post a comment!
  • cont.

    Could not find the main class: HelloWorld.java.

  • Exception in thread "main" java.lang.NoClassDefFoundError­: HelloWorld/java

    Caused by: java.lang.ClassNotFoundExcepti­on: HelloWorld.java

    at java.net.URLClassLoader$1.run(­Unknown Source)

    at java.security.AccessController­.doPrivileged(Native Method)

    at java.net.URLClassLoader.findCl­ass(Unknown Source)

    at java.lang.ClassLoader.loadClas­s(Unknown Source)

    at sun.misc.Launcher$AppClassLoad­er.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClas­s(Unknown Source)

  • I mean dislikes.

  • Wow, no likes.

  • Hahaha, I feel so proud of myself now!

  • Been doing C++ for over a year now, how easy would it be to pick up Java?

  • @CreeperMart Sorry, because usually who made the video answer, :)

  • @memoivoila shit + 9/0

  • @nawaryoussef1 This isn't My video

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