Install Java
Here we will install Java 7 which will include the Java Development Kit (jdk) for Windows. Java is typically installed in the Programs folder (ie "C:\Program Files\Java"). For 64-bit machines, you may have a separate 32-bit version of Java in the "Program Files (x86)" folder. By right clicking on My Computer and selecting Properties, I saw that Windows was 32-bit. Therefore, I installed a 32-bit version of java. I googled "download 32 bit version of Java for Windows Vista", clicked on Java SE Downloads (Oracle), clicked on JDK Download Button, went to Java SE Development Kit 7u25 (Standard Edition, version 1.7.0_25), accepted the license agreement and clicked on jdk-7u25-windows-i586.exe next to Windows x86 (32-bit).- Downloading the installer to your Desktop.
- Run the installer.
- Opened a command prompt.
- Start Menu->Run->Type "cmd"->OK.
- Type the following command:
java -version
This post was reposted from http://scottizu.wordpress.com/2013/08/14/getting-started-with-javas-hello-world-part-i/, originally written on August 8th, 2013.
No comments:
Post a Comment