Installing from a jar filr

Avraham Hanadari rufus at hanadari.net
Thu Sep 17 21:04:29 UTC 2009


Aart Koelewijn wrote:
> On Thu, 17 Sep 2009 13:52:08 -0400, Avraham Hanadari wrote:
> 
snip

>> The Arachnophilia instructions say:
>>
>> Put the JAR file you downloaded (Arachnophilia.jar) anywhere appropriate
>> on your system,  be sure you have also installed the Java runtime before
>> running Arachnophilia.
>>
>> Open a command console (Linux: shell console), move to the Arachnophilia
>> program directory, type "java -jar Arachnophilia.jar" For convenience,
>> this command can be made part of a shell script, and those using X
>> windows can easily make a desktop icon.
>>
>>
jar file moved to /usr/bin and cd to location

java -jar ./Arachnophilia.jar keyed with this result:

rick at brainstorm3l:~$ cd /usr/bin
rick at brainstorm3l:/usr/bin$ java -jar ./Arachnophilia.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load 
library: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/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: Arachnophilia.Arachnophilia. Program will 
exit.
rick at brainstorm3l:/usr/bin$
rick at brainstorm3l:/usr/bin$

I guess I did something wrong.

Avraham





More information about the ubuntu-users mailing list