Anyone some idea why I couldn’t include my jogl librarys without pointing to them from the shell with
java -Djava.library.path=./my_game_dir/libs/ -cp ....
(if I did it that way it works)
I tried to insert
System.setProperty("java.library.path","./my_game_dir/libs/");
in my javasources, it’s one of the first lines in my main(), but anyway I got an error:
java.lang.UnsatisfiedLinkError: no jogl in java.library.path
Is it just impossible to “declare” the librarys (jogl.dll etc) or is there some error in my code?
Edit:
I tried the same thing for jinput:
System.setProperty("jinput.controllerPluginPath", "./my_game_dir/libs/");
and the javaprog finds the jinput librarys