|UT Computer Science|
Installing Java on your computer.
Note: Please remember the teaching staff does not support or assist in setting up software for use at home. If you are having problems you should post a question to the class discussion group so others can offer advice or tell you what they did. You may email Mike or your TA if you think you have done everything correctly, but he will may not be able to assist you with your specific problem. Working at home has its benefits and I recommend you download the Java Platform Standard Edition and either Eclipse or BlueJ if you have a computer at home.
Please go to here to download the Download Java 2 Platform Standard Edition 6.0. You want to download the JDK Update 21. Click on the "Download JDK" button.
The installation instructions for Windows machines are here. Instructions for Linux are here. Mac users will have to go here to download the Java 5.0 and install. (Java 6.0 does not appear to be available yet for Macs. There is a developer version available. However, version 5.0 will work fine for this course.)
Pick the appropriate link. I will talk through what to do if you are using Windows. If you are using a Macintosh click here for a page with instructions on how to download and install Java for the Mac. If you are using Linux I assume you don't need much help and you can just click on the Linux download and follow the instructions from their.
To download and install the Java 2 Platform Standard Edition (J2SE) version 6.0 for Windows.
- From the page http://www.oracle.com/technetwork/java/javase/downloads/index.html click on the "Download JDK" button in the JDK 6 Update 21 table near the top. (Note, the update number may be something different than 21. Don't worry, about that number. You do not need JavaFX, Java EE, or Netbeans (unless you want to use that IDE.))
- Select your platform. (Weird fact: The License Agreement includes Section Restrictions 3 which states "You acknowledge that Software is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility. " Earlier versions of Java include restrictions on using Java for software intended "for use in on-line control of aircraft, air traffic, aircraft navigation or aircraft communications.")
- After downloading click the file icon to start the installer if it does not start automatically.
- After downloading and installing Java I recommend also downloading and installing Eclipse, a powerful, but complex IDE. You are free to use whatever IDE (JCreator, BlueJ, DrJava, Emacs, VI, Notepad and command line) you want, but I have support pages for Eclipse.
- If you want to download the Java documentation. Go to the download page where you got the JDK. Expand the "Additional Resources" menu:
Scroll down until you see the choice for "Java SE 6 Documentation" and follow the instructions to download the documentation. The process is similar to the J2SE, except you will download a zipped file and have to expand it. If you do not have a program on your computer to zip and unzip files (compress and decompress) try PKZip for Windows which can be downloaded for free. I find it best to bookmark the index page (the local copy on your computer) from the API folder in my web browser.
That's all. If you want more information on Java, there is an excellent tutorial at Sun's Java site.