• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 467
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

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