Installing Java and JCreator on your home computer

JCreator LE is a freeware development tool for writing Java programs. This page describes how to install JCreator and get started with using it.

Before you can install JCreator, you must install a Java JDK. We will be using release 1.4.2 of the Java 2 Standard Edition (J2SE) development kit. The steps below tell you how to install this programming environment along with JCreator. There are roughly two parts to this installation. The first part is installing the Java development kit (JDK) on the computer and the second part is installing JCreator.

Step 1:
If you do not have the program WinZip already installed on your home computer, then you should install it first. Download the Windows version from the WinZip Download Page; follow the instructions on that page to install WinZip.

Step 2:
Install Sun's JDK 1.4.2. Use the link at the end of this paragraph to go to Sun's download page. You want to use the "Download J2SE SDK" link that is under the heading "J2SE v 1.4.2_05 SDK". That will take you to a page where you can download an installation program. The JDK 1.4.2 installer is 51 MB. To install the JDK, follow the installation instructions from Sun's web pages.
Sun's JDK 1.4.2 download page

Step 3:
The JDK does not come with any documentation. If you want to use the HTML version of the documentation with JCreator, then you need to install that separately.

The HTML version of the documentation comes in a zip file (that's why you need WinZip) called j2sdk-1_4_2-doc.zip. Download this file from the link at the end of this paragraph. Unzip the zip file into a temporary directory. The temporary directory will contain a sub-directory called docs. Move the docs directory to be a sub-directoy of the directory C:\j2sdk1.4.2_05 which was created by the installer in the previous step (the last two digits in this directory name are the "version number" of the JDK).

Sun's JDK 1.4.2 HTML documentation download

Sun's JDK 1.4.2 Documentation Installation Instructions

Step 4:
If you want to, you can test your JDK installation. Use the Start Menu to start up a "Command Prompt" window. At the command prompt, enter the following command.
c:\j2sdk1.4.2_05\bin\javac
You should get a "usage message" back from the Java compiler. Now download this Hello.java file. At the command prompt, use the cd command to move to the directory where you stored the file Hello.java. Compile Hello.java with the following command.
c:\j2sdk1.4.2_05\bin\javac Hello.java
After the program compiles, run the program with the next command.
c:\j2sdk1.4.2_05\bin\java Hello

Step 4.5 (Optional):
In the last step we used the "full path name", c:\j2sdk1.4.2_05\bin\javac, at the command prompt for the Java compiler javac (and similarly for the Java virtual machine, java). If you want to work with Java from the command prompt, using full path names can be inconvenient. So you may want to set the Windows PATH variable to include the Java JDK. How to do this is explained in Step 5 of Sun's installation instructions. If you do not want to use the command prompt, then this step is not needed (and setting the PATH variable is not needed for any of the following steps).

Step 5:
Download JCreator LE version 3.1. Use the link at the end of this paragraph to go to the JCreator download page. Be sure to download JCreator LE (not JCreator Pro).
JCreator Download page

Step 6:
The last step downloaded a zip file, jcrea310.zip. Use Winzip to unzip this file. It does not matter what directory you unzip this file into. After unzipping this file, in the directory that it was unzipped into there is an installer program, Setup.exe. Install JCreator by double clicking on the installer.

Step 7:
Test JCreator by downloading and then double clicking on the file Hello.java. The JCreator installer associates java files with JCreator, so double clicking on the file Hello.java should open the file in JCreator.

When you are editing files, remember to save your work frequently (at least every 15 minutes), otherwise it may be Abort, Retry, Ignore?


Return to the Java installation page.
Return to the main Java page.
Return to the CS 123 home page.


compliments and criticisms