The first step is to download and install the JDK from Oracle. You can use Java from other sources if you want. However, be sure to select the most recent release that matches your machine. To install Java, follow these steps:
1. Open a web browser and navigate to the site www.oracle.com/technetwork/java/javase/downloads/index.html. Find the area titled Java SE Downloads. You may have to click the download tab. Select the Java Platform (JDK) button.
2. On the page that opens, locate the section titled Java SE Development Kit and accept the license agreement. Select the version that best matches the machine you will be installing on.
3. Choose to save the file. The download will take a couple of minutes depending ...