LWJGL
May 22, 2013, 07:39:49 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: setting up my lwjgl  (Read 1420 times)
arnelpogs
Newbie
*
Posts: 1


« on: December 02, 2009, 23:36:31 »

hi there .i just try 2 run an example program writen in lwjgl and i succesfully  complie it
but i cant run it the prompt says many error is it the natives where i should place my lwjgl natives i talking about the .dll's like i done when i set up my jogl natives.thank u n advance
Logged
Evil-Devil
Prolific Timewaster
****
Posts: 298



WWW
« Reply #1 on: December 03, 2009, 06:30:46 »

You should put the dlls and jars inside your project folder when you distribute it. for example in /myproject/libs/jars/ and /myproject/libs/natives/windows
For the startbatch you have to provide the -dJava.library.path (natives) and classpath to the jar files. Then it should run fine =)
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 1112



« Reply #2 on: December 03, 2009, 06:52:41 »

NO!

never put your natives in the sdk/jre/bin folders, it is the classic noob mistake.

instead link to it as mentioned in the above post.
Logged
Fool Running
Nerdus Imperius
*****
Posts: 742


« Reply #3 on: December 03, 2009, 10:33:34 »

This is not a question for a poll to answer.

It is just wrong to put it into the bin folder. Plain and simple. Grin

Logged

Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option Grin
Pages: [1]
  Print  
 
Jump to:  

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