The JDK 7 includes tools useful for developing and testing programs written in the Java programming language and running on the Java platform.
you can download JDK from here
Follow the steps below for a perfect installation:
Step 1 : Identify the file which suits your system (Windows 64(x64) bit or 32(x86) bit).
for Windows it will be available at the last.
Now click on the Click on the Accept Licence Agreement
and then click on the download button
run on the file which suits your OS.
Step 3: The installation should be done as follows...
Click on Next> button
If you want to change the installation directory click on Change... and give your desired
directory path. Or it is recommended to leave the default path like that and click Next>
the installer will do its job of removing any old files and installs new files or else it will end
up normally and click on Finish or Close at the end.
Installation has completed.
Step 4: Now it is time to set Environment Variables to the system.
Just follow the figures shown :
You can see the installation directory as above . Copy the path of bin folder from here , that is
by default it will be "C:\Program Files\Java\jdk1.7.0_25\bin".
After this step click on Start and right click on Computer and click on Properties
You will get a window and to the top left it look like this
Click on Advanced system settings , you will get this window
Then click on Environment Variables , you will get this window
Now in the bottom box of System variables search for variable path .
Now click on Path and click on Edit... , you will get the window like this,
Now at the end of the Variable value add the path of the bin folder, by default it
is "C:\Program Files\Java\jdk1.7.0_25\bin;".Don't forget to keep ';'
at the end of the statement. Click on OK .
Now we should create a new System Variable with the name "CLASSPATH"
Click on the New... you will get a new window
Create a new Variable name with "CLASSPATH" and the Variable value with
the following path "C:\Program Files\Java\jdk1.7.0_25\jre\lib\rt.jar;"
you can see the file path here.
you should do like this ,
After creating this press OK. And close all the tabs.
Now you are done with installing Java.
The next step is to set up Editplus for Java programming.
nice blog.
ReplyDelete