I have a Macbook Pro with running OS 12.6.

/usr/bin/java -version shows

java version "1.8.0_341"

Java(TM) SE Runtime Environment (build 1.8.0_341-b10)

Java HotSpot(TM) 64-Bit Server VM (build 25.341-b10, mixed mode)

Since I'm running applications which require a higher Java version (jEdit for instance), I want to update Java. This is what I tried:

I went to SystemPreferences/Java and the Java Control Panel opens.

I go to the "Update" tab.

I would now expect to be shown a new Java version, if one is available. However, on top of the panel is only shown something like a rotating circle, most likely indicating that information is being fetched from the internet. This stays like this for arbitrary time (at least for 15 minutes - after this, I lost the patience). It seems that the Java Control Panel can not access the information from the internet.

Internet connection itself (wireless) works fine. I tried to use the router at home (FritzBox), and I also used tethering via my iPhone as a personal hotspot (and this in turn using mobile data via its SimCard) - just to rule out the possibility that my FritzBox is blocking some ports which are needed for the update.

MacOS Software Update itself works and shows that my Mac is up to date.

Could someone explain why the Java update does not work in this way? Do I have to install a private Java-version in my home directory, if I want to have a more recent one?

1 Answer 1


Apple stopped supplying Java after Java 6. The Java control Panel was used to control Apple's Java releases and so does not provide later updates.

To get Java 8 you need to install from Oracle's Java pages. Note that the licence for these might involve some restrictions.

For later Java versions there are several other sources e.g. OpenJDK Azul

An easier way to install these versions might be to use a package manager like HomeBrew(although only for the most recent MacOS versions) or Macports.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .