[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 463
  • Last Modified:

Help - loading solaris SO file in JVM

Folks,

We have written a custom SO (libsystemtools.so is the name of the file) and put it in the following locations

1. /usr/local/bea10/jdk150_06/jre/lib/sparc/
2. /usr/local/bea10/jdk150_06/bin

When we run the java program, we thought that JVM would automatically pick up this SO file. However, we are getting the following exception.

Any pointers on this would be of great help. We tried setting LD_LIBRARY_PATH as well. But it still throws this error.

Faced a problem while trying to compute System Fingerprint. Unable to load native library systemtools
The stack trace is: [Ljava.lang.StackTraceElement;@f84386
0
rajesh_bala
Asked:
rajesh_bala
  • 3
  • 2
1 Solution
 
CEHJCommented:
How are you trying to load it?

Can you load any other shared library?
0
 
rajesh_balaAuthor Commented:
No, this is the only library we are trying to load. We dont have any other dependency or .SO
0
 
CEHJCommented:
And the answer to my first question ..?
0
 
rajesh_balaAuthor Commented:
Hi CEHJ,

Thankx a lot for your comments. We managed to figure the problem. The issue is that, we were trying to load 64 bit .SO file in 32 bit Solaris box. And hence the issue.

Thankx again for your comments.

~Rajesh.B
0
 
CEHJCommented:
OK. Glad you sorted it out
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now