Created by: Robertico Gonzalez on 23-06-2010 09:56:04 PM Hi, I can't run the sample JTAPI application that comes with the SDK. Here is the error that I am getting: ~/.jtapi/bin/makecall2$ java -classpath /home/ubuadmin/.jtapi/lib/*:. makecall 10.1.1.1 jtapiuser cisco123 1000 2011 2012 Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/xawt/libmawt.so at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1666) at java.lang.Runtime.load0(Runtime.java:787) at java.lang.System.load(System.java:1022) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1684) at java.lang.Runtime.loadLibrary0(Runtime.java:840) at java.lang.System.loadLibrary(System.java:1047) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.loadLibraries(Toolkit.java:1614) at java.awt.Toolkit.<clinit>(Toolkit.java:1636) at java.awt.Component.<clinit>(Component.java:568) Could not find the main class: makecall. Program will exit. I just installed JTAPI on my Ubuntu Linux box using the following command: CiscoJTAPIClient-linux.bin ¿console Here are the libraries after installation: .jtapi/lib$ ls jtapi.jar jtracing.jar updater.jar $ which java /usr/bin/java $ whereis java java: /usr/bin/java /usr/share/java /usr/share/man/man1/java.1.gz Any ideas what could be wrong? Thanks, -RG
Subject: RE: Can't run makecall on Ubuntu Linux - Can't load library: /usr Replied by: David Staudt on 24-06-2010 04:15:12 AM This thread on the Ubuntu forums: http://ubuntuforums.org/showthread.php?t=1099777 suggests that you may have the -headless java package installed, but not the full -jre package.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: