Hi all
Here is my first post (in this fantastic comunity), and it doesn't be the last one.
I was success in create a jar file (whit Fat-Jar for Eclipse) but in order to execute my jar into win32 I had to write a batch file:
"
@echo of
javaw -Djava.library.path=./lib/nativas -jar a.jar
pause > nul
echo.
echo Pulsa un tecla para continuar XD
"
The "nativas" directory contains "lwjgl.dll"
I wonder is there any way to do the same (to set the java.library.path) into the MANIFEST.MF
I also try to do this:
"
public static void main(String[] args)
{
System.setProperty"java.library.path","./lib/nativas");
System.out.println(System.getProperty("java.library.path")); //displays the new value…
}
"
But it doesn't work.
thx, and sorry about my English.