Operating System - HP-UX
1834015 Members
2606 Online
110063 Solutions
New Discussion

Re: Java1.1.8.04 install on HP-UX 11.0

 
Daniel J. Doughty_1
Occasional Contributor

Java1.1.8.04 install on HP-UX 11.0

I've got a user who's using swinstall to install jre11804_os11.depot on a K class machine. I can successfully perform this install on my workstation, but she's having trouble. The file seems fine and it uncompress' no problem, but when she tries to run the rmiregistry she receives a core dump and the error that it can't find the library libjvm.so I don't have this file on my system other than in a java1.2 version. Any ideas why my version is working and hers is not? BTW, she does have java1.2 also installed, so I kind of suspect a possible path problem, but I don't really think that's the issue. Perhaps she removed some files without using the swremove command?
i tu, Emac?
4 REPLIES 4
James L Shirley (4075)
Occasional Advisor

Re: Java1.1.8.04 install on HP-UX 11.0

Did you have ?her? move /opt/java/jre/jre.tar.Z to /opt/java then uncompress and extract same?
No Indian prince has to his palace ...
Daniel J. Doughty
New Member

Re: Java1.1.8.04 install on HP-UX 11.0

Yes. She dropped it down one directory and extracted it. The files are there and appear to be all correct. Luckily in Java 1.1.7.02 and 1.1.8.04 all the relevant files are command scripts, so I can easily verify that they're correct.
Everything's simple until you try and do it.
Steve Post
Trusted Contributor

Re: Java1.1.8.04 install on HP-UX 11.0

I had a similar problem. I discovered an OLD java file and (working?) software buried on the system. After I renamed the "java" file to java.old, everything started to work. Swremove did NOT show this old java software.
OLD was: /usr/java/bin/java
New was: /opt/java/bin/java.

Try "find / -name java -print" and see how many java files you really have. You should have only one.

Another possibility is something wrong with the PATH or CLASSPATH.
Daniel J. Doughty_1
Occasional Contributor

Re: Java1.1.8.04 install on HP-UX 11.0

In the long run reinstalling fixed the problem. The other admin's didn't really understand how to correctly install or remove products via swinstall or swremove. Thanks for all you help.
i tu, Emac?