java-environment-installation-guide
java-environment-installation-guide
JAVA DEVELOPMENT
Table Of Contents:
From the above window you can find out whether your machine is 64 bit or 32 bit machine.
As you can see the above Machine is a 32 bit machine as it is showing Microsoft Windows
XP Professional.
For a 64 bit machine it will show Microsoft Windows XP Professional X64 Edition.
Prerequisites:
Installing JDK:
Go to the URL: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Then click on Download under the JDK section.
Java Installation Guide 8
Choose the appropriate option that is as per the machine you are installing the JDK viz. 32 bit
machine or 64 bit machine.
Once the download is over. Start the .exe file by double click on it.
Java Installation Guide 9
Once we have created the Environment variables, we are done with the process of JDK
installation.
Java Installation Guide 11
We recommend using Eclipse IDE for Java Developers (Helios). You can download it here:
This is a zip file and does not require installation. Just copy the eclipse folder into your
programs directory.
After unzip what you fill find in the unzipped folder is something like this:
Java Installation Guide 13
Troubleshooting:
If after the installation of JDK, you find an error like below:
You have made the wrong software installation i.e. the Eclipse IDE and the JDK are incompatible.
An Example can be that the JDK was downloaded for 64 bit machine and Eclipse for a 32 bit
machine or Vice versa or both could not be downloaded for the targeted machine.
In order to resolve this do an Uninstall of JDK from Add/Remove Programs and download a new
Eclipse and JDK for the Target Machine (64 bit or 32 bit) and follow the steps as mentioned from
the beginning of the document.