Operating System - HP-UX
1833838 Members
2771 Online
110063 Solutions
New Discussion

Re: Function JNI_CreateJavaVM not found in /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

 
Srinivas Swamy
New Member

Function JNI_CreateJavaVM not found in /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

Hi,
Iam working on HPUX 11i. The HP server is HP rp7410. I have installed the java software (Java 1.4.1_05). Now i have installed IUM4.5 (Internet usage manager - HP mediation product). When i try to activate the IUM iam getting the following errors.
i) Function JNI_CreateJavaVM not found in
/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl (this library file is presend in the directory specified).
ii) Cannot load jvm from
/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

Can anyone help me what this problem is all?. I have installed all the HPUX 11i patches.

I have tested to check if java is working with a sample program. Iam able to compile and execute java programs.

Thanks in advance.

Regards,
Srinivas Swamy
11 REPLIES 11
Steven E. Protter
Exalted Contributor

Re: Function JNI_CreateJavaVM not found in /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

Make sure this object's directory /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl
/opt/java1.4/jre/lib/PA_RISC2.0/server is on the SHLIB_PATH variable for the process that runs this.

If its a server startup process, modify the startup script.

Make sure the object actually exists(it probably does).

Then try aain.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Srinivas Swamy
New Member

Re: Function JNI_CreateJavaVM not found in /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

I have set the SHLIB_PATH still it is not working.
Zygmunt Krawczyk
Honored Contributor

Re: Function JNI_CreateJavaVM not found in /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

Hi,

try to download and install the latest version of Java 1.4.2.04.
It is available free from:

www.hp.com/go/java

Regards,
Zygmunt
Srinivas Swamy
New Member

Re: Function JNI_CreateJavaVM not found in /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

I have already tried that version. It gives the same error.
srinivasa chowdary
New Member

Re: Function JNI_CreateJavaVM not found in /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

Hi Swamy,

Check whether your SHLIB_PATH is set in your environment, just check with echo $SHLIB_PATH.

all the best
Srinivasa Chowdary

Srinivas Swamy
New Member

Re: Function JNI_CreateJavaVM not found in /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

Hi Chowdary,
I have set the SHLIB_PATH and when i print the $SHLIB_PATH it is showing the correct path.

Regards,
Srinivas Swamy
ranganath ramachandra
Esteemed Contributor

Re: Function JNI_CreateJavaVM not found in /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

please make sure that there is no ABI mismatch between the application and the library it is trying to load. both must be either of PA32 or PA64, you cant have one of PA32 and the other PA64.
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

ranganath ramachandra
Esteemed Contributor

Re: Function JNI_CreateJavaVM not found in /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

... if there is an ABI mismatch, you should probably correct your SHLIB_PATH setting.
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

ranganath ramachandra
Esteemed Contributor

Re: Function JNI_CreateJavaVM not found in /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

try "chatr +s enable " (or link with "+s"/"-Wl,+s").
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

Roberto Fernández
New Member

Re: Function JNI_CreateJavaVM not found in /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

I have a trouble instaling IUM in HP-UX 11.11. When i want to activate the product the maquine show to me this:

$ pwd
/opt/SIU/bin
$ activate -product IUM
Error: Function JNI_CreateJavaVM not found in /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

Error: Can not load jvm from
/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

I think it may be the same problem described at the begining of the thread.

Can you help me?

Thanks a lot.

Roberto Fernández
Srinivas Swamy_1
New Member

Re: Function JNI_CreateJavaVM not found in /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl

I Solved it.
Install Unix Patch PHSS_30049 for solving this native library problem.