How to Install the Sun Java JDK
- 1). Click the "Download JDK" button on the Java SE Downloads page (see Resources).
- 2). Select your Windows platform from the "Platform" menu (the correct version should be selected by default).
- 3). Click "Download" to start the download. You do not have to log in; choose "Skip this Step" to continue. Save the file to your desktop.
- 4). Double-click the JDK installer on your desktop to launch the JDK installation wizard. If you already have Java installed, you will be prompted to reinstall or cancel. Choose "Yes" to reinstall.
- 5). Read the License Agreement and click "Accept" to continue.
- 6). Review the list of "Optional Features" by clicking each title in the list and reading the "Feature Description" on the right side of the window. You can choose to not install the "Source Code" or "Java DB" by clicking the icon next to each symbol and select "Do not install this feature now."
- 7). Change the default installation folder if you need to install the JDK to a different folder. Click "Development Tools" in the list to select it. Click the "Change" button, select a target folder and click "OK." Change the Java DB installation folder by selecting "Java DB," clicking "Change," selecting a folder and clicking "OK."
- 8). Click "Next" to continue. The installation starts, displaying the current status on the screen. Click "Finish" to complete the installation.
- 1). Click the "Download JDK" button on the Java SE Downloads page (see Resources).
- 2). Select your Linux platform from the "Platform" menu (the correct version should be selected by default).
- 3). Click "Download" to start the download. You do not have to log in; choose "Skip this Step" to continue.
- 4). Download the regular ".bin" file (for example, "jdk-6u18-linux-i586.bin") from the list of Linux installers. Save the file to the directory where you want to install the JDK.
- 5). Open a terminal window. Use the "cd" command to change the current working directory to the download directory (for example, "cd ~/bin/").
- 6). Type "./" followed by the file name of the installer (for example, "./jdk-6u18-linux-i586.bin") and hit "Enter" to extract the JDK.
- 7). Read the License Agreement displayed on the screen, hitting the space bar to display the next page. Type "Yes" to accept the agreement. The JDK extracts to a new folder at the current location.
- 8). Delete the ".bin" file.
Windows
Linux Self-Extracting Installer
Source...