Locating libraries from a jar

Started by mcsquared, February 27, 2007, 14:13:56

Previous topic - Next topic

mcsquared

Hi

I've been making a game using eclipse and now i'd like to export it as an executable .jar file.

However when I do this it can no longer locate the lwjgl libraries and just throws up errors when I try to run it.

Can somebody please explain exactly what is the best way to include the libraries with a completed game.

Thanks

Matzon

either merge all the jars or append the lwjgl jars to your apps classpath via the manifest.
the native files will have to be in the same dir to be able to launch with double clicking on a jar file

mcsquared

Thanks for your help

Works fine   :)