I tried many methods, but still this error.
I try to put the lwjgl.dll to a specified folder, such as c:\temp, but how to specify the java.library.path to such a folder? I used "System.setProperty("java.library.path","C:\\temp");" But doesn't work.
by the way, I am using webstart to show the 3d animation. So it is impossible to use commands such as "-Djava.library.path=path".
Anybody has a solution?
Thanks.
i have the same problem ... give me an answer please do you find the solution qvictor?
For a desktop application see
http://www.jpct.net/wiki/index.php/How_to_install (http://www.jpct.net/wiki/index.php/How_to_install)
For webstart, have a look at this example:
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://www.jpct.de/robombs" href="robombs.jnlp">
<application-desc main-class="robombs.game.startup.StartUp"/>
<information>
<title>Robombs</title>
<vendor>jPCT - http://www.jpct.net</vendor>
<homepage href="http://www.jpct.de/robombs"/>
<description>Robombs - multiplayer bombing fun</description>
<icon href="logo.jpg"/>
<icon kind="splash" href="splash.jpg"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+" initial-heap-size="256m" max-heap-size="768m"/>
<jar href="robombs.jar" main="true"/>
<jar href="lib/jpct.jar"/>
<jar href="lib/lwjgl.jar"/>
<jar href="lib/lwjgl_util.jar"/>
<!--<extension href="unsigned.jnlp" name="unsigned jars"/>-->
</resources>
<resources os="Windows">
<j2se version="1.5+"/>
<nativelib href="lib/lwjgl_win.jar"/>
<property name="java.library.path" value="." />
</resources>
<resources os="Linux" arch="i386">
<j2se version="1.5+"/>
<nativelib href="lib/lwjgl_linux.jar"/>
<property name="java.library.path" value="." />
</resources>
<resources os="Mac OS X">
<j2se version="1.5+"/>
<nativelib href="lib/lwjgl_osx.jar"/>
<property name="java.library.path" value="." />
</resources>
<resources os="SunOS" arch="i386">
<j2se version="1.5+"/>
<nativelib href="lib/lwjgl_solaris.jar"/>
<property name="java.library.path" value="." />
</resources>
</jnlp>