THIS BY io9 FROM MOPARISTHEBEST, IT HAS LOTS OF PICS AND SHOULD BE SIMPLE FOR YOU ALL TO FOLLOW.
Just like Setting-Up Java for Dummies, only for complete mongoloids
This tutorial will teach you how to set-up Java.
Table of Contents
Installing Java
--->Downloading and Installing the JDK/JRE
--->Setting PATH and CLASSPATH
.+:Downloading and Installing the JDK/JRE:+.
OK, now we are going to download the JDK and the JRE, in one installer!
So just follow the steps below and we'll be done in no time!
Congratulations! You have successfully installed the JDK and the JRE! You may continue on to the next step.
.+:Setting PATH and CLASSPATH:+.
OK, now that you have installed the JDK and the JRE, they won't do anything until you let the system know that they exist. Click Start, move your mouse to My Computer and Right-Click it. Click "Properties".
So now we have this scary screen in front of us. Well, don't worry, that's just the System Properties Control Panel. It should look somewhat like this:
Now, Click the tab that says "Advanced". Click the button that says "Environmental Variables" You should see something like this:
In the box on the BOTTOM, scroll down until you see "PATH" or "Path" on the left column. Double-click that. Go to the very end of the input box on the bottom and type in:
Congrats! You have set-up Java for compiling and running Java Programs!
Update 1 - Made it so you don't have to type in "java -cp . ProgramName" when you compile and run your program by adding a "." to the CLASSPATH and PATH
Just like Setting-Up Java for Dummies, only for complete mongoloids
This tutorial will teach you how to set-up Java.
Table of Contents
Installing Java
--->Downloading and Installing the JDK/JRE
--->Setting PATH and CLASSPATH
.:Installing Java:.
OK, so you just can't wait to make your first Java program. I bet you're sweating with anxiety already. But hold your horses, Eager McBeaver, there are still a few things that we need to set up before we can make our first program. Now, we will downloading the JDK (Java Development Kit) and the JRE (Java Run-time Environment).+:Downloading and Installing the JDK/JRE:+.
OK, now we are going to download the JDK and the JRE, in one installer!
So just follow the steps below and we'll be done in no time!
- First, let's go to the Download page for Java: http://java.sun.com/javase/downloads/index.jsp
- Now click the ">> Download" button which is next to "JDK 6"

- Now, Choose to "Accept" the license agreement and wait for the "Accept/Decline" box to disappear. Now choose "Windows Offline Installation" and run the installer when the download finishes

- When the installer starts up, you'll have to Accept the License Agreement. Click The button that says "Accept"
- Now, you should see a screen like the one below:

Click on everything that looks like a hard-drive and make sure you select "This feature and all subfeatures will be installed on local hard drive." especially for the option that says "Public JRE" - Click "Next >" and let the installer to its thing.
Congratulations! You have successfully installed the JDK and the JRE! You may continue on to the next step.
.+:Setting PATH and CLASSPATH:+.
OK, now that you have installed the JDK and the JRE, they won't do anything until you let the system know that they exist. Click Start, move your mouse to My Computer and Right-Click it. Click "Properties".

So now we have this scary screen in front of us. Well, don't worry, that's just the System Properties Control Panel. It should look somewhat like this:

Now, Click the tab that says "Advanced". Click the button that says "Environmental Variables" You should see something like this:

In the box on the BOTTOM, scroll down until you see "PATH" or "Path" on the left column. Double-click that. Go to the very end of the input box on the bottom and type in:
Code: [Select]
;C:\Program Files\Java\jdk1.6.0\bin;.(you must include the semicolons[;] and the period[.].) Now select everything in the bottom input box and press "C" while holding "Ctrl". Press OK. Now, almost at the very bottom of the Environment Variables screen, there should be a button that says "New". Click that. In the top input-box type in
Code: [Select]
Classpathand in the bottom, press "V" while holding "Ctrl". Press OK until the System Properties window disappears.Congrats! You have set-up Java for compiling and running Java Programs!
Update 1 - Made it so you don't have to type in "java -cp . ProgramName" when you compile and run your program by adding a "." to the CLASSPATH and PATH

















comments (0)
Post a Comment