Problem
Java 142 doesn't remove completely through the software manager on OpenServer 5.0.7.
Older versions of java need to be removed manually before being
updated on OpenServer 507. Additionally, the java SDK and Plugin
packages have a dependency on the Java Run-time Engine (JRE), which
require that these packages get removed in a specific order. If all
three java 142 packages are selected and removed together, the
underlying j2jre142 pkg package is not removed correctly. While the
software manager will no longer show Java 142 as installed, you can
see the j2jre142 package with `pkginfo`.# pkginfo
...
system j2jre142 J2SE Runtime Environment 1.4.2
... Solution
To keep this from happening in the future, when removing java through the Software Manager(custom), remove the java 142 SDK and Plugin packages first and then remove the JRE package itself last.
If you are already in this situation, you can complete the Java 142
removal by using `pkgrm`:# pkgrm j2jre142At this point the older version of java 142 should be removed so you can continue with the java 142 upgrade.