Installing from a jar filr

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

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

>> 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/
	at java.lang.ClassLoader.loadLibrary(
	at java.lang.Runtime.load0(
	at java.lang.System.load(
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(
	at java.lang.ClassLoader.loadLibrary(
	at java.lang.Runtime.loadLibrary0(
	at java.lang.System.loadLibrary(
	at Method)
	at java.awt.Toolkit.loadLibraries(
	at java.awt.Toolkit.<clinit>(
	at java.awt.Component.<clinit>(
Could not find the main class: Arachnophilia.Arachnophilia. Program will 
rick at brainstorm3l:/usr/bin$
rick at brainstorm3l:/usr/bin$

I guess I did something wrong.


More information about the ubuntu-users mailing list