ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » The Java Native Library was not Correctly Loaded

Post new topic  Reply to topic
 The Java Native Library was not Correctly Loaded « View previous topic :: View next topic » 
Author Message
mhubbard
PostPosted: Tue Aug 31, 2004 12:33 pm    Post subject: The Java Native Library was not Correctly Loaded Reply with quote

Acolyte

Joined: 25 Aug 2004
Posts: 54

Hello -

In my immense struggles to define a key repository on linux I abandoned my efforst to use the line command (gsk6cmd) and am now trying the gui gsk6ikm.

As the command initializes, I receive a window that says:

"The java native library was not correctly loaded.
You can work only with a pure java based key database but not a CMS key database."

I have installed CSD07 and the interim fixes. I have copied over the jar files as specified in memo.ptf.

I have JAVA_HOME set to /opt/mqm/ssl/jre and have added /opt/IBMJava2-14/bin to my path.

This problem seemed similar to the thread where the complaint was that only 3 types of databases show up, so I tried that solution which was to set JAVA_HOME to /opt/mqm/java/jre, but that just yields:

gsk6ikm
/usr/local/ibm/gsk6/bin/gsk6ikm: [: =: unary operator expected
/usr/local/ibm/gsk6/bin/gsk6ikm: /opt/mqm/java/jre/bin/java: No such file or directory

Are there any other ideas? Thanks so much.
_________________
Michael J. Hubbard
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Aug 31, 2004 1:36 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

What kind of Linux are you running. What version?

Also I don't think it is able to find the binary java
Back to top
View user's profile Send private message Send e-mail Visit poster's website
clindsey
PostPosted: Tue Aug 31, 2004 1:43 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Try with JAVA_HOME set to /usr/lib/java

Charlie
Back to top
View user's profile Send private message
techno
PostPosted: Tue Aug 31, 2004 9:06 pm    Post subject: Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

See what is java -version.
Back to top
View user's profile Send private message
mhubbard
PostPosted: Wed Sep 01, 2004 3:24 am    Post subject: getting java right Reply with quote

Acolyte

Joined: 25 Aug 2004
Posts: 54

I am running Debian 2.4.20
When I have JAVA_HOME set to /opt/mqm/ssl/jre and add /opt/IBMJava2-14/bin to my PATH, java -version yields:

java -version
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0)
Classic VM (build 1.4.0, J2RE 1.4.0 IBM build cxia32140-20020917a (JIT enabled: jitc))

I do not have a /usr/lib/java.

I should note that after I click OK on the little window that complains about my java native library not correctly loading, the application goes ahead and runs.....but, as you would expect, CMS is not listed in the database types.
_________________
Michael J. Hubbard
Back to top
View user's profile Send private message
mhubbard
PostPosted: Wed Sep 01, 2004 4:10 am    Post subject: I Fixed it!!!! Reply with quote

Acolyte

Joined: 25 Aug 2004
Posts: 54

It is only 8:05 AM where I am. A little too early for drinking, but a really cold beer is in order. The problem I started this thread with was resolved by finding this little tidbit in the readme file:

If you want to use SSL channels on WebSphere MQ for Linux for Intel,
you must install the following C++ runtime libraries:

libgcc_s.so
libstdc++.so.3

Not what I would have expected given my error message, but thats alright.....I'm forging on.....see you soon, more than likely.....

Thanks for all the input.
_________________
Michael J. Hubbard
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » The Java Native Library was not Correctly Loaded
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.