my dog learned polymorphism*
The moose likes Cattle Drive and the fly likes Download/Install J2SE SDK for learning Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Download/Install J2SE SDK for learning" Watch "Download/Install J2SE SDK for learning" New topic

Download/Install J2SE SDK for learning

C Hendrick

Joined: Apr 25, 2005
Posts: 1
Trying to get an understanding of JAVA by using the "Head First Java" book. I need to download the J2SE SDK software and am having a problem getting it to run. I think I've downloaded the right software, but then I have to execute it by keing in "% javac" at the cmd line and I get errors. The directions say to add an entry to the PATH envioronment variable that points to the /bin directory inside the main Java directory. Sorry for such a simple newbie question. I am running this on my Windows 2000 laptop.
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9044
You compile your source code using
C:\> javac
at the command line.

Do you get an error when you type this? I think '%' is for a Linux/unix environment.

To execute your class, you need to type
C:\> java MyClass
at the command line.

Do you see something?

Have you seen this page? It might help you get started.
[ April 25, 2005: Message edited by: Marilyn de Queiroz ]

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
subject: Download/Install J2SE SDK for learning
Similar Threads
Which One to download??
Setting up Java
Unable to launch Sun Download Manager 2.0 (web)
4 newbies only: installing java from binaries
java 1.5 for linux download link ?