UnsatisfiedLinkError only when running jar file

Started by Trudko, March 23, 2007, 08:31:08

Previous topic - Next topic

Trudko

I havent got any problem when I'am running my program through Eclipse but when I export it to jar file the UnsatisfiedLinkError  exception is thrown. I think that problem is with export settings. I'am using fat jar plugin for eclipse which add me lwjgl class file to my jar file but its stil doesnt work. Iam worry about the manifest file which looks :
Manifest-Version: 1.0
Created-By: Fat Jar Eclipse Plug-In
Main-Class: know.Okno

There is something about lwjgl missing isn't?

And this is fatjar configuration file:
#Fat Jar Configuration File
#Tue Feb 13 04:08:14 CET 2007
onejar.license.required=true
manifest.classpath=
manifest.removesigners=true
onejar.checkbox=false
jarname=Hra_fat.jar
manifest.mergeall=true
manifest.mainclass=know.Okno
manifest.file=<createnew>
jarname.isextern=false
onejar.expand=
excludes=
includes=

Does anybody has some idea ?

Fool Running

I think you need to add the classpath into your .jar file (pointing to the LWJGL .jars)
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D