LWJGL
May 21, 2012, 00:22:55 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Locating libraries from a jar  (Read 3356 times)
mcsquared
Newbie
*
Posts: 9


« on: February 27, 2007, 06: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
Logged
Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #1 on: February 27, 2007, 08: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
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
mcsquared
Newbie
*
Posts: 9


« Reply #2 on: February 28, 2007, 09:02:57 »

Thanks for your help

Works fine   Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!