I have searched a bit before asking. I use netbeans. In my project, I use Slick and so lwjgl.
When I use-Djava... it works very well. on the other hand, when I use System.setProperty("java.library.path", "identic path")
IT give me the same path but lwjgl doesn't load...it said me unsatisfiedlink error no lwjgl in java.lib...
why?
my first line of the main is setProperty...

its cool to develop but if my programme does not run out of the IDE its useless...

someone can give me a clue? or explain to me why?
my main class
package infl3Client;
import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.SlickException;
public class Main {
public static void main(String[] args){
System.setProperty("java.library.path", System.getProperty("user.dir")+"/res/lib/");
System.out.println(System.getProperty("java.library.path"));
try {
AppGameContainer container = new AppGameContainer(new Game());
container.setDisplayMode(1024,768,false);
container.start();
} catch (SlickException e) {}
}
}