Locating libraries from a jar

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

Previous topic - Next topic

mcsquared

  • *
  • Newbie
  • Posts: 9
  • Logged
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

  • *****
  • Demigod
  • Posts: 2,242
    1. ICQ - 10003834
  • Location: Odense, Denmark
  • Logged
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

  • *
  • Newbie
  • Posts: 9
  • Logged
Thanks for your help

Works fine :)

User actions

AltStyle によって変換されたページ (->オリジナル) /