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?