This question already has an answer here:
- How to properly install Java in OS X 1 answer
as part of my update routine, I wanted to upgrade from the installed Java SE 8u171 to Java SE 8u181. Before anyone asks, yes, one software DOES need Java (LibreOffice).
Problem is, the install window abruptly closes, and the installed version stays at 8u171, according to the Java preference pane.
In a terminal windows, I found things even more confusing:
$ java -version java version "1.8.0_161" Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
I don't know exactly what is happening. Console doesn't say why it's failing. I already tried to manually install 8u181 from the .dmg found on Oracle's website, but the result is the same. Same goes when I try to install the update in Safe Mode.