LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: arnelpogs on December 03, 2009, 07:36:31

Poll
Question: i should i place my lwjgl native(.dll). should i place it in my sdk/jre/bin?
Option 1: a votes: 0
Option 2: b votes: 0
Title: setting up my lwjgl
Post by: arnelpogs on December 03, 2009, 07: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
Title: Re: setting up my lwjgl
Post by: Evil-Devil on December 03, 2009, 14: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 =)
Title: Re: setting up my lwjgl
Post by: kappa on December 03, 2009, 14: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.
Title: Re: setting up my lwjgl
Post by: Fool Running on December 03, 2009, 18: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. ;D