Jprofiler 5.2.2 and Java 5 64-bit
Wednesday, July 8, 2009
When I tried to run Jprofiler , I received : exception in thread "main" java.lang.InternalError: libXt loaded before libXm .
Exception in thread "main" java.lang.InternalError: libXt loaded before libXm at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668) .....Workaround is to change AWT_TOOLKIT. You should add “export AWT_TOOLKIT=XToolkit” to you jprofiler5/bin/jprofiler file.
LD_LIBRARYN32_PATH="$app_home/bin/linux-x86:$LD_LIBRARYN32_PATH" LD_LIBRARYN64_PATH="$app_home/bin/linux-x86:$LD_LIBRARYN64_PATH" export LD_LIBRARY_PATH export DYLD_LIBRARY_PATH export SHLIB_PATH export LIBPATH export LD_LIBRARYN32_PATH export LD_LIBRARYN64_PATH export AWT_TOOLKIT=XToolkit