Monday, June 6, 2011

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library - libmawt.so

When installing any fusion middleware products, if the java run time has mismatch with underlying architecture, then you will get the below error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library

libmawt.so

 

Sample Scenario:-

When I tried installing rcu, I got the above error. The reason is that,

it was always using the jdk which comes with rcu bundle by default. Since

my machine has 64 bit architecture and the default jdk is made for 32 bit,

I got the above error.

Solution:-

Install 64 bit amd version and update the JAVA_HOME. If rcu still uses old jdk

path, replace the jdk folder of rcu with latest one.

No comments:

Post a Comment