It's all about the answers!

Ask a question

java.lang.UnsatisfiedLinkError: awt (An exception was pendin


Bhadri Madapusi (18171) | asked Jan 23 '11, 5:46 p.m.
Hi,

When I call session.put( asset, new NullProgressMonitor()); I get the following exception. Any help on why I would get this would be much appreciated. Thank you.

<message>java.lang.UnsatisfiedLinkError: awt (An exception was pending after running JNI_OnLoad)</message>
<frame>
<class>java.lang.ClassLoader</class>
<method>loadLibraryWithPath</method>
<line>993</line>
</frame>
<frame>
<class>java.lang.ClassLoader</class>
<method>loadLibraryWithClassLoader</method>
<line>962</line>
</frame>
<frame>
<class>java.lang.System</class>
<method>loadLibrary</method>
<line>465</line>
</frame>
<frame>
<class>sun.security.action.LoadLibraryAction</class>
<method>run</method>
<line>69</line>
</frame>
<frame>
<class>java.security.AccessController</class>
<method>doPrivileged</method>
<line>202</line>
</frame>
<frame>
<class>java.text.Bidi</class>
<method><clinit></method>
<line>67</line>
</frame>
<frame>
<class>java.lang.J9VMInternals</class>
<method>initializeImpl</method>
<line>-2</line>
</frame>
<frame>
<class>java.lang.J9VMInternals</class>
<method>initialize</method>
<line>200</line>
</frame>
<frame>
<class>com.ibm.ram.client.RAMAsset</class>
<method>toLocalizedString</method>
<line>4195</line>
</frame>
<frame>
<class>com.ibm.ram.client.RAMAsset</class>
<method>getLocalArtifactArchiveFile</method>
<line>3195</line>
</frame>
<frame>
<class>com.ibm.ram.client.RAMSession</class>
<method>putAsset</method>
<line>2853</line>
</frame>
<frame>
<class>com.ibm.ram.client.RAMSession</class>
<method>put</method>
<line>4715</line>
</frame>

2 answers



permanent link
Ivy Ho (4711419) | answered Feb 21 '11, 10:39 a.m.
Usually this kind of error is due to the JVM version mismatch.
Check your classpath/path to see what JRE set is set
If say the eclipse-based product requires a higher JRE version and yet your machine has installed a lower JRE version, this kind of problem will occur.

permanent link
Bhadri Madapusi (18171) | answered Feb 22 '11, 4:42 p.m.
Thank you for the reply. The issue is with WebSphere sMash environment on which we run our application.

Your answer


Register or to post your answer.