

Many of them make sounds, so be sure to turn on your speakers. All of the examples are ready to run, so you might want to find the directory and play with some of the samples. You are ready to start writing software!īy the way, one of the things you just unpacked is a demo directory full of neat examples. You are now the proud owner of a machine that can compile Java programs.

Go back and reread the Programmer's Creed above and be persistent until the problem is resolved. Make sure the PATH is set properly and working. Figure out what you did wrong by rereading the installation instructions. If you see the message "Bad Command or File Name" it means you are not ready to go. If everything is set up properly, then you should see a two-line blob of text come out that tells you how to use javac. Now you should be able to open another MS-DOS window and type javac. Then open autoexec.bat in Notepad and make the changes to PATH specified in the instructions. This is most easily done by opening an MS-DOS prompt and typing PATH to see what the path is set to currently. Unzip the documentation and it will drop into the proper place.Īs instructed on this page, you need to change your path variable. They will instruct you to move the documentation file to same directory as that containing the development kit you just installed. Read the installation instructions for the documentation. It will unpack and install the development kit automatically. Run the j2sdk-1_4_1-*.exe file that you downloaded in step 1.

We will use it in a moment to install the documentation. If you do not have a version of WinZip or an equivalent on your machine, go to the page and download an evaluation copy of WinZip. The next two files are also large.ĭownload the documentation by selecting your operating system and clicking the SDK 1.4.1 documentation link. This is a huge file, and it will take several hours to download over a normal phone-line modem.

Select your operating system and download the file to your download directory. Download the SDK software by clicking on the "Download J2SE SDK" link. Step 1 - Download the Java development environment
