Technical article 127248

Java 142 doesn't remove completely through the software manager on OpenServer 5.0.7

OpenServer 5.0.7

Written · Last revised

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 j2jre142

At this point the older version of java 142 should be removed so you can continue with the java 142 upgrade.

From the Xinuos technical article database, record 127248. Reproduced with permission. The original is at www.sco.com/ta/127248, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.