Operating System - HP-UX
1833758 Members
2917 Online
110063 Solutions
New Discussion

How to use JRE in HP-UX 10.20??

 
Bernard Chan
Occasional Advisor

How to use JRE in HP-UX 10.20??

Anybody have tried using JRE in HP-UX?? I'm nuts in JAVA but i required to run a program coded in Java in HP-UX. So i install the JRE but i unable to run the program!!! the program run without any problem in windows!! i need help here!!! i have tried various method to run the program but to no avail.hope the experts can gimme some suggestions... btw, i try to run the java program in JRE under HP-UX & 1 of the following errors occur...

" /usr/lib/dld.sl:Can't open shared library: ../../../lib/PA_RISC/green_threads/libjava.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump) "

wats the cause of this error?? i'm loaded wif JRE (version C.01.18.06) 1.1.8 / Hp-UX 10.20...




5 REPLIES 5
Michael Tully
Honored Contributor

Re: How to use JRE in HP-UX 10.20??

How did you attempt to install it? And from what source did you obtain it from?
Anyone for a Mutiny ?
Bernard Chan
Occasional Advisor

Re: How to use JRE in HP-UX 10.20??

Hi Michael Tully,

I download the JRE from HP http://www.hp.com/products1/unix/java/archives/index.html

But my HP B2600 workstation is standalone system so wat i do is download the JRE depot file to my win2k PC then use FTP to transfer the files over.After that,i use swinstall to install the jre & use tar to untar the file.i'm not sure wats goin wrong...do i need the patches for 10.20 to run JRE?? Plss help...
Michael Tully
Honored Contributor

Re: How to use JRE in HP-UX 10.20??

Hi,

Two things:

Did you receive any error messages at all during the installation?
Second, invest some time in having a look at some patches for this release. Note that the product has actually been discontinued. All the more reason to look at patches.

Regards
Michael
Anyone for a Mutiny ?
Bernard Chan
Occasional Advisor

Re: How to use JRE in HP-UX 10.20??

hi,

i did not encounter any error message throughout the installation process. Can u plss spend some time to check whether these patches are relevant to me?? I jx contact the HP engineer and they reply was to install these patches prior to Java JRE installation.But these these patches doesnt seems relevant to the JRE. Plss give ur opinions

PHSS_17534 X11R6 Font Server JAN 99 Cumulative Patch
PHSS_25348 CDE msg catalog OCT2001 Periodic Patch
PHSS_26583 Xserver cumulative patch
PHSS_27229 X/Motif Runtime Periodic Patch
PHSS_27426 CDE Runtime Patch


susan gregory_1
Valued Contributor

Re: How to use JRE in HP-UX 10.20??

The patches required by the java runtime are to prevent problems with the underlying native methods that java employs and are documented at the java web site as a "patch info" link within the "download" page.
As far as that file goes, have you tried to find it inside of the java runtime? It should be somewhere in the /opt/java. On my 10.20 machine it is /opt/java/lib/PA_RISC/green_threads/libjava.sl. Does it in fact exist on your machine?
What is JAVAHOME equal to? Is it set or set incorrectly? Can you play around with JAVAHOME to see if that will allow the JVM to find the library.
Is /opt/java/bin in your PATH?