Java - Java Development Kit (JDK)
Table of Contents
1 - About
To create and compile Java applications, you need the full Java 2 Platform, Standard Edition, Software Development Kit (J2SE SDK), formerly known as the Java Development Kit (JDK).
2 - Articles Related
Advertising
3 - JDK
JDK | Maintained by | Description |
---|---|---|
OpenJDK | Oracle previously Sun | |
HotSpot | Oracle previously Sun | |
JRockit | Oracle previously BEA | |
http://zulu.org/ | tested and certified build of OpenJDK |
4 - How to
4.1 - get it
To obtain the JDK, navigate your web browser to the download page of Oracle and click the Download JDK button.
4.2 - Download link
Example of direct download link: http://download.oracle.com/otn/java/jdk/8u45-b15/jdk-8u45-windows-i586.exe
4.3 - Law
4.4 - Install it
- Download the bin (Self-Extracting Installation)
jdk-6u<version>-linux-x64.bin jdk-6u18-linux-x64.bin
- Make it executable
chmod +x jdk-6u18-linux-x64.bin
- Change to the directory where you would like the files to be installed.
cd installDir
- The Java Development Kit files are installed in a directory called jdk.6.0_<version> in the current directory.
./jdk-6u <version>-linux-x64.bin
Advertising
4.5 - Check it
To be able to check a JDK and to return a message to the user, you need to compile the main class with a lower jdk.
You need then to compile your source code differently. See Configuring compile to run twice