LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Trudko on March 23, 2007, 08:31:08

Title: UnsatisfiedLinkError only when running jar file
Post by: Trudko on March 23, 2007, 08:31:08
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 ?
Title: Re: UnsatisfiedLinkError only when running jar file
Post by: Fool Running on March 26, 2007, 17:42:07
I think you need to add the classpath into your .jar file (pointing to the LWJGL .jars)