Jvm.dll failed to load error


 
Thread Tools Search this Thread
Operating Systems AIX Jvm.dll failed to load error
# 1  
Old 11-12-2014
Jvm.dll failed to load error

In my AIX 7.1 , jre is not working. I have attempted reinstalling but not succeeded to get rid of the error. Following error I am getting (jvm.dll failed to load: global entrypoints not found)
Code:
 
bash-4.2# cd /usr/java6/jre/bin/
bash-4.2# java -version
jvm.dll failed to load: global entrypoints not found
Failed to find VM - aborting
bash-4.2#

Can someone suggest the root cause of the problem?

Regards,
George
Moderator's Comments:
Mod Comment Please use code tags next time for your code and data. Thanks

Last edited by vbe; 11-12-2014 at 10:05 AM..
# 2  
Old 11-12-2014
Very strange for .dll are specific to Windows... (shared libraries under UNIX...)
VM is it virtual address space??? (running out of memory?)

Have you set any JAVA evironment variables?
Could try
Code:
 DLL = /usr/java6/jre/bin/j9vm/libjvm.so
 DLL = /usr/java6/jre/bin/classic/libjvm.so

or wherever libjvm.so is...


ADDENDUM
Code:
n12:/usr/java6_64/jre $ which java
no java in /usr/bin /bin /bin/sbin /etc /usr/local/bin
n12:/usr/java6_64/jre $ echo $JAVA_HOME

n12:/usr/java6_64/jre $ bin/java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap6460sr9fp2-20110627_03(SR9 FP2))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr9-20110624_85526 (JIT enabled, AOT enabled)
J9VM - 20110624_085526
JIT  - r9_20101028_17488ifx17
GC   - 20101027_AA)
JCL  - 20110530_01


Last edited by vbe; 11-12-2014 at 11:19 AM.. Reason: ADDENDUM
# 3  
Old 11-12-2014
I have set DLL environment variable. But the error remains.. JRE in this system was working earlier. I do not know what went wrong.
# 4  
Old 11-12-2014
Have any of your environment variables changed, such as LD_LIBRARY_PATH?

What's your OS?

What's the full path of the java executable you're trying to run?

Without any "DLL" environment variables set, what's the output from "ldd -r -v /full/path/to/java"?
# 5  
Old 11-12-2014
Quote:
Originally Posted by achenle
What's your OS?
He stated that in post #1: AIX 7.1


To find out which Java version is installed search for the installed package:

Code:
lslpp -l | grep -i java

In most cases this will be Java 1.4, 1.5, 1.6 or 1.7. Once you found the name of the package issue a

Code:
lslpp -f <packagename> | more

To find out which files (and for your purpose more important - pathes) belong to the package. Then check your environment. You need several variables set:

"PATH" should include the bin-dir of your Java installation, something like "PATH=[...]:/usr/java6_64/jre/bin:[....]".

"JAVA_HOME" should point the root directory of the package, something like "/usr/java6_64/jre"

"LIBPATH" and "LD_LIBRARY_PATH" are in the same format as "PATH" (a colon-separated list of directories) and should both include the path to the Java libraries, which are located in either "$JAVA_HOME/bin" or "$JAVA_HOME/lib".

You can set these variables in your "~/.kshrc" file but i suggest to put them into the environment of any user (perhaps every user should be able to use Java) by placing these definitions in "/etc/environment".

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Fresh Install - Boot Load Failed

I have M10-1. Installation OS 10 from cdrom external. Here message from OK Prompt {0} ok probe-scsi-all /pci@8000/pci@4/pci@0/pci@2/pci@0/usb@4,1/cdrom@1 Unit 0 Removable Read Only device HL-DT-STDVDRAM GP65NB60 PF00 But.. {0} ok boot... (3 Replies)
Discussion started by: mbahjiman
3 Replies

2. UNIX for Dummies Questions & Answers

VPS has load 200, httpd load no activity, netstat nothing

Hello, on my hostserver i see one VPS of mine got load of 200.00 and netstat nothing (not a single blank line on netstat command) after some time, netstat started showing connections, but i see no excessive IP connections. tail -f /var/log/httpd/access_log shows no activity /var/log/messages ;... (1 Reply)
Discussion started by: postcd
1 Replies

3. Solaris

Rpcinfo: can't contact portmapper: RPC: Authentication error; why = Failed (unspecified error)

I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet. ... (2 Replies)
Discussion started by: christr
2 Replies

4. Solaris

Cygwin X Server error: xdmcp fatal error session failed session 23 failed for display

Hi, i got the following error when i tried to access the cygwin x server from a windows XP PC. "xdmcp fatal error session failed session 23 failed for display" Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies

5. SuSE

Failed to load HCA driver and Access Layer

Hi All, I got the following errors when i was trying to restart Infiniband service. Loading cxgb3 driver : Loading HCA driver and Access Layer : The command managed to bring up the services, but without RDMA modules loaded from /etc/init.d/openibd status output. Is the missing of RDMA... (0 Replies)
Discussion started by: dchm
0 Replies

6. Solaris

pam_unix_cred.so.1 failed to load

My solaris 8 server messages log recored error "Sep 30 21:35:00 bkp1 cron: open_module: /usr/lib/security/pam_unix_cred.so.1 failed: ld.so.1: cron: fatal: libproject.so.1: open failed: No such file or directory" Any idea what is this related to and how to stop? thanks in advance. (2 Replies)
Discussion started by: admin@solaris
2 Replies

7. Solaris

boot load failed

I modified the partitions on my Solaris 10 disk using format command in "boot cdrom -s" mode and then tried rebooting with "reboot". It said "Boot load failed". Why does this happen? I have faced this error before:( and I went in for a fresh installation of the OS.Can anyone tell me the reason as... (1 Reply)
Discussion started by: lydiaEd
1 Replies

8. Shell Programming and Scripting

Need help in wrting Load Script for a Load-Resume type of load.

hi all need your help. I am wrting a script that will load data into the table. then on another load will append the data into the existing table. Regards Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies

9. HP-UX

Module jk2 failed to load into apache server!!

Hi There, Does anyone knows what could be the problem if my apache server is running but unable to load JK2 module into the server. My HTTPS is running on Apache Server 2.0.49 with ssl enabled and compiled with Mod_ssl on HPUX-11.11i. In fact we have try out the following parameter, ... (4 Replies)
Discussion started by: e_jeffhang
4 Replies
Login or Register to Ask a Question

Featured Tech Videos