Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jdk 6 on mountain lion

I've just installed Mac OSX 10.8 Mountain Lion I'm trying to install a JDK version 6 There's no Mac package for version 6 on the Oracle downloads: http://www.oracle.com/technetwork/java/javase/downloads/jdk6u37-downloads-1859587.html

But there is one for JDK version 7 http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html

Is there somewhere else I can get a Mac package for JDK 6?

like image 711
Black Avatar asked Nov 30 '12 21:11

Black


People also ask

Is Java 1.6 the same as Java 6?

Version 6 is the product version, while 1.6. 0 is the developer version. The number 6 is used to reflect the evolving level of maturity, stability, scalability and security of Java SE.

How do I know if Java is installed on my Mac?

Mac OS X 10.7. 3 and above: Under System Preferences click on the Java icon to access the Java Control Panel which will list your Java version. If you do not see a Java icon under System Preferences, Java 7 or later versions is not installed.

Where is Java installed Mac?

In macOS, the JDK installation path is /Library/Java/JavaVirtualMachines/jdk-10. jdk/Contents/Home . The root directory of the JDK software installation.

What is Java se6?

Java SE 6. Java SE 6 is the current major release of the Java SE platform. Sun endeavors to foster the highest level of transparency and collaboration on the platform with the Java community through Project JDK 6, resulting in the following key features.


1 Answers

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. I just did this on my MacBook and now have javac 1.6.0_37.

like image 153
khagler Avatar answered Sep 20 '22 18:09

khagler