Author Topic: no lwjgl in java.library.path  (Read 2960 times)

Offline qjvictor

  • int
  • **
  • Posts: 77
    • View Profile
no lwjgl in java.library.path
« on: December 20, 2006, 06:18:34 pm »
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?


Offline josue.leon7

  • byte
  • *
  • Posts: 1
    • View Profile
Re: no lwjgl in java.library.path
« Reply #1 on: August 16, 2012, 03:46:07 am »
i have the same problem ... give me an answer please do you find the solution qvictor?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11899
    • View Profile
Re: no lwjgl in java.library.path
« Reply #2 on: August 16, 2012, 08:14:41 am »
For a desktop application see

For webstart, have a look at this example:

Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="" href="robombs.jnlp">
<application-desc main-class=""/>
<vendor>jPCT -</vendor>
<homepage href=""/>
<description>Robombs -  multiplayer bombing fun</description>
<icon href="logo.jpg"/>
<icon kind="splash" href="splash.jpg"/>
<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 os="Windows">
<j2se version="1.5+"/>
<nativelib href="lib/lwjgl_win.jar"/>
<property name="java.library.path" value="." />
<resources os="Linux" arch="i386">
<j2se version="1.5+"/>
<nativelib href="lib/lwjgl_linux.jar"/>
<property name="java.library.path" value="." />
  <resources os="Mac OS X">
<j2se version="1.5+"/>
    <nativelib href="lib/lwjgl_osx.jar"/>
<property name="java.library.path" value="." />
  <resources os="SunOS" arch="i386">
<j2se version="1.5+"/>
<nativelib href="lib/lwjgl_solaris.jar"/>
<property name="java.library.path" value="." />