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
LVL 10
rajesh_balaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.