Hello all,
I was wondering, if you need to distribute a .jar to non programmers. How would you make sure the jar runs ? ie that the JAVA_PATH is set, and that the jar finds the java.exe.
I’m asking this, because my jar won’t launch under windows without me specifying the java.exe location (haven’t set the JAVA_PATH, and since the end user mustn’t do any configuration to play a game …)
Also another question. I’m using lwjgl, and my .jar needs a link to the native. I can’t dynamically set java.library.path, so I’m going through a script that just calls the java -jar command and setting the java.library.path at the same time. Do you generally go through a script / exe or do you create another jar that does the call ? or is they a way to load the native dynamically ?
Thanks in advance,
Zlandorf