Friday 05/09/2014 09:20 AM How to setup and run Java in Windows 7

Step 1: Go to Google and search for Java SDK
http://www.oracle.com/technetwork/java/javase/downloads/index.html

http://www.java.com/en/download/installed.jsp

Download Textpad http:://www.textpad.com

 

Google page showing JDK download

Click on the JRE link to download the latest update of the Java runtime Environment.

Once you have finished the install of JRE you can go back to the page shown above and click the link for JDK.

Step 2: Now it is time to download and install JDK

Java DK download page

Highlighted are the two links to the downloads for Windows.

Unless you know if you have either an x32 or x64 system, download the x32. It will work on both.

A window will pop up and ask you to save the file

save jdk file

Click save file.

Once the file has been downloaded, right click to show the drop list and click Open

Downloads jdk selection

One the next window you will be asked to Run the installer

Click Run

The installer window should come up. Click Next.

Java install window #1

Click Next

Java install screen #2

It shouldn't take to long for JDK to install

Wait for it

When the install is complete, Click Finish

Click Finish

Step 3: You will need to get the classes folder, which can be found on the T: drive in the CIS219 Folder when you log in to any computer in the school,

except on the computers in D203 and D205.

You will need to copy the classes folder to a flashdrive, then paste it the the C: drive of your computer.

view of classes folder in C: drive

Step 4: Now that JDK is installed, and the classes folder is in the C: drive, it is time to add/edit the class path.

  Bring up the start menu, right click Computer, then select Properties

click start

The window shown below should open. Click Advanced system settings

Select Advanced System Settings

Click Environment Variables...

Environment Variables

Click New... to add a new variable

For the Variable name type classpath

For the Variable value type c:\classes;.;

c:\classes\mysql-connector-java-5.1.22-bin.jar;.;

(You may copy and paste these to the proper lines)

Click OK

Add new user variable

Click OK

click ok once again

Click OK

Click OK yet again

Click here to move to the next page