Hello Guest

Locating libraries from a jar

  • 2 Replies
  • 5127 Views
Locating libraries from a jar
« on: February 27, 2007, 14:13:56 »
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

*

Offline Matzon

  • *****
  • 2242
Re: Locating libraries from a jar
« Reply #1 on: February 27, 2007, 16:48:41 »
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

Re: Locating libraries from a jar
« Reply #2 on: February 28, 2007, 17:02:57 »
Thanks for your help

Works fine   :)