As I recall, the first time you do something that needs Java the OS will ask if you want to install it, and version 6 is what you get. According to this page, typing java -version in the Terminal is enough to trigger the prompt. For the JDK (and not the runtime), you'll need to log into developer.apple.com, search for java, and download the Java for OS X 2012-006 Developer Package. Jul 24, 2009.
JDK 9 & Later
Changing JDK6 as the default on Mac OS X Mac OS X version 10.6 (Snow Leopard) comes with JDK6. 10.5 (Leopard) comes with JDK5 with an option to download an update that will install JDK6 on your machine. However, even after installing the update, JDK6 does not run as default. Use the following tip to update the version of Java on a Mac OS X machine.
Oracle's OpenJDK JDK binaries for Windows, macOS, and Linux areavailable on release-specific pages of jdk.java.net as .tar.gz
or.zip
archives.
As an example, the archives for JDK 13 may be found on jdk.java.net/13 and may be extractedon the command line using
Jdk 6 Download Mac Os Counter Strike 1 6
$ tar xvfopenjdk-13*_bin.tar.gz
or
$ unzipopenjdk-13*_bin.zip
depending on the archive type.
JDK 8
Debian, Ubuntu,etc.
On the command line, type:
$ sudo apt-get installopenjdk-8-jre
The openjdk-8-jre
package containsjust the Java Runtime Environment. If you want to develop Javaprograms then please install the openjdk-8-jdk
package.
Fedora, OracleLinux, Red Hat Enterprise Linux, etc.
On the command line, type:
$ su -c 'yum installjava-1.8.0-openjdk'
The java-1.8.0-openjdk
packagecontains just the Java Runtime Environment. If you want to developJava programs then install the java-1.8.0-openjdk-devel
package.
JDK 7
Debian, Ubuntu,etc.
On the command line, type:
$ sudo apt-get installopenjdk-7-jre
The openjdk-7-jre
package containsjust the Java Runtime Environment. If you want to develop Javaprograms then install the openjdk-7-jdk
package.
Fedora, OracleLinux, Red Hat Enterprise Linux, etc.
On the command line, type:
$ su -c 'yum installjava-1.7.0-openjdk'
The java-1.7.0-openjdk
packagecontains just the Java Runtime Environment. If you want to developJava programs then install the java-1.7.0-openjdk-devel
package.
JDK 6
Download Java Jdk 6 Mac Os
Debian, Ubuntu,etc.
On the command line, type:
$ sudo apt-get installopenjdk-6-jre
The openjdk-6-jre
package containsjust the Java Runtime Environment. If you want to develop Javaprograms then install the openjdk-6-jdk
package.
Fedora, OracleLinux, Red Hat Enterprise Linux, etc.
On the command line, type:
Jdk 6 Download Mac Os Recovery Tool
$ su -c 'yum installjava-1.6.0-openjdk'
Jdk 8 For Mac
The java-1.6.0-openjdk
packagecontains just the Java Runtime Environment. If you want to developJava programs then install the java-1.6.0-openjdk-devel
package.
BSD Port
Jdk 1.6 Download 64 Bit
For a list of pointers to packages of the BSD Port forDragonFly BSD, FreeBSD, Mac OS X, NetBSD and OpenBSD, please seethe BSD porting Project's wikipage.