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

Java Tutorial 2 - Variables {part 1}

Loading...

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

Uploaded by on Jan 10, 2010

Welcome to the second exciting installment.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (TruthBeautyGoodness)

  • I could think of two reasons: you would get that error if you didn't have the JDK (Jave Development Kit) installed, and you would also get it if you didn't set up your path environment variables correctly. In either case, I would recommend watching someone's video on installing the JDK for Windows - they should cover both of those things for you.

see all

All Comments (42)

Sign In or Sign Up now to post a comment!
  • got a large error

  • this should get more views :D

  • @TheFatuscatus i'm hoping you got it by now, but when you are compiling, you have to type javac Vars.java

    the .java needs to be included :). this will create the class file which you then call by using java Vars

  • @BetterTwoGether yes, he did?

  • @TheFatuscatus put .java at the end

  • thank u

  • when i try to compiule i get this:

    Last login: Sat Oct 1 18:10:21 on ttys001

    sam-Segals-iMac:~ raquellys$ cd desktop

    sam-Segals-iMac:desktop raquellys$ cd java

    sam-Segals-iMac:java raquellys$ javac Vars

    error: Class names, 'Vars', are only accepted if annotation processing is explicitly requested

    1 error

    sam-Segals-iMac:java raquellys$

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