Upgrade JDK on Mac OSX - macos

I am using default JDK on my MacBook Pro which runs with 10.6.8. I want to upgrade my JDK version but I didn't find on Oracle web site. Where can I download for Mac?

Only Java JDK 7 comes from Oracle and requires OSX 10.7.3 or higher See Oracle's mac install info
Earlier OS and JDKs were released by Apple. Latest version is 1.6.0_37

Related

Install XCode on MacOS 10.15 Catalina

I'm getting an error where I can't install XCode because my MacOS version is 10.15 when the requirement is version 11 or higher.
I don't want to upgrade my mac version because this is a company laptop so my other development tools might get affected.
How do I create a workaround for this?
The latest version of Xcode you can run on Catalina (10.15.4) is Xcode 12.4 and Command Line Tools 12.4.
You can download older versions of Xcode and the Command Line Tools from Apples developer site.
https://developer.apple.com/download/all/?q=xcode
You can check which Xcode version is supported by your OS here; https://developer.apple.com/support/xcode/
You can download all versions of Xcode from this site
https://xcodereleases.com

What version of Go is supported on OSX 10.7.5 (Lion)

I have an older MacBook that can't be upgraded past OSX 10.7.5. What is the latest binary release of the Go tools can I install on it? According to the golang downloads page, the current "featured" download (1.6.2) requires OSX 10.8, but for most prior releases, the page doesn't state the OS version compatibility requirements.
Go 1.4.2 was the last official release that officially mentioned support for versions of OSX before 10.8. For that release there were two binary packages: one with an osx10.8 suffix, and one with an osx10.6 suffix.
Already in Go 1.5, only OSX 10.8 was mentioned as being supported. See: https://web.archive.org/web/20150820055435/https://golang.org/dl/
Of course, you can download any version and build it from source, and that's what I'd do if I were stuck with an old version of OSX.

Scout not working even though Java Runtime is installed on Mac

Today my Compass/Sass stopped compiling and i was unable to get it working again. So i installed Scout. But Scout wouldn’t run until i installed Java Runtime for Mac. So I downloaded and installed Java Runtime for Mac. But when running Scout I am still prompted as if Java Runtime was never installed. I see the Java Runtime in my System Preferences so I assume it’s working?
I’m running Mac OS 10.10.1 Yosemite
Anyone know what the problem might be?
I found the solution. You need to run a legacy version of Java for some applications to still work. Here's the download link and info from Apple:
https://support.apple.com/kb/DL1572?locale=en_US
Java for OS X 2015-001 installs the legacy Java 6 runtime for OS X
10.11 El Capitan, OS X 10.10 Yosemite, OS X 10.9 Mavericks, OS X 10.8 Mountain Lion, and OS X 10.7 Lion.
This package is exclusively intended for support of legacy software
and installs the same deprecated version of Java 6 included in the
2014-001 and 2013-005 releases.
Quit any Java applications before installing this update.
I don't know Scout but you might need the older JNI (Java Native Interface) version of Java (1.6) that Apple deprecated a long time ago but is still available if you know now to find it.
The easiest way to install it is to use this command in Terminal:
/usr/libexec/java_home --task JNI --request
and follow the prompts (it will pop up a dialog box offering to install the requested version). OS X can host multiple versions of Java a once so installing this older version shouldn't affect your existing installation.

You can't open xcode because it is not supported on that Architecture?

I have install VMWARE (virtual Machine) on Windows 7. And have installed Mac OS Leopard 10.5.5 image on that Virtual Machine.
Now i want to install Xcode 5.1.1 on that Mac os, but it gives above Error. Please help me how and which version to install on that Mac OS Leopard 10.5.5.
Xcode 5.1 requires OS X 10.8 or 10.9. Xcode 3.1.4 is the latest version that runs on Leopard.
When i was programming with xcode with vmware i didn`t managed to download it from the store and make it run in vmware, what i did is i downloaded a Mac OS with preinstalled xcode in it.
Also see the vmware options!

What Java version comes with Mac OS X?

I have created a Java Swing application using JDK 1.6. Many customers are asking if my application can run on Mac OS X 10.5 and 10.6, so I wanted to add this question to my website's FAQs section, and I wanted an accurate answer. I am trying to answer this:
What Java version comes with Mac OS X 10.6 ?
What Java version comes with Mac OS X 10.5 ?
I know Mac OSX 10.5 comes with a Java version less than 1.6, so is there a simple way to update it to 1.6 so my program can run fine on it?
10.6.7 has:
jonatan:~ $ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)
for 10.5 here is the update
http://support.apple.com/downloads/Java_for_Mac_OS_X_10_5_Update_4
This release updates Java SE 6 to
version 1.6.0_13, J2SE 5.0 to version
1.5.0_19, and J2SE 1.4.2 to 1.4.2_21.
The update process is easy - the user should run: "Software Update..." from the "Apple" menu.

Resources