Author |
Message
|
mhubbard |
Posted: Tue Aug 31, 2004 12:33 pm Post subject: The Java Native Library was not Correctly Loaded |
|
|
 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 |
|
 |
vennela |
Posted: Tue Aug 31, 2004 1:36 pm Post subject: |
|
|
 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 |
|
 |
clindsey |
Posted: Tue Aug 31, 2004 1:43 pm Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
Try with JAVA_HOME set to /usr/lib/java
Charlie |
|
Back to top |
|
 |
techno |
Posted: Tue Aug 31, 2004 9:06 pm Post subject: |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
See what is java -version. |
|
Back to top |
|
 |
mhubbard |
Posted: Wed Sep 01, 2004 3:24 am Post subject: getting java right |
|
|
 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 |
|
 |
mhubbard |
Posted: Wed Sep 01, 2004 4:10 am Post subject: I Fixed it!!!! |
|
|
 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 |
|
 |
|