From: <ka...@us...> - 2010-08-28 12:05:01
|
Revision: 3404 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3404&view=rev Author: kappa1 Date: 2010-08-28 12:04:55 +0000 (Sat, 28 Aug 2010) Log Message: ----------- AppletLoader: set java.library.path to the folder containing natives, this should make it easier when using extra custom native files. Modified Paths: -------------- trunk/LWJGL/src/java/org/lwjgl/util/applet/AppletLoader.java Modified: trunk/LWJGL/src/java/org/lwjgl/util/applet/AppletLoader.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/util/applet/AppletLoader.java 2010-08-23 18:12:06 UTC (rev 3403) +++ trunk/LWJGL/src/java/org/lwjgl/util/applet/AppletLoader.java 2010-08-28 12:04:55 UTC (rev 3404) @@ -892,6 +892,9 @@ // Make sure jinput knows about the new path too System.setProperty("net.java.games.input.librarypath", path + "natives"); + // set the library path, should make it easier when using additional custom natives + System.setProperty("java.library.path", path + "natives"); + // mark natives as loaded natives_loaded = true; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |