liblwjgl and geany


It all works fine until you try to run it. :(

It complains that it can't load the LWJGLException class (even though lwjgl.jar is clearly in the classpath).

But it turns out, the problem was that java couldn't find the native libraries.

Here are the command lines to build:
javac "%f" -cp '.:/usr/lib/jvm/jdk1.7.0_04/lib/*'

and to run:
java -cp '.:/usr/lib/jvm/jdk1.7.0_04/lib/*' -Djava.library.path=../natives "%e"


Comments

Popular posts from this blog

Micro:Bit and SPI display

DCS World with TrackIR under Ubuntu

Polygon Triangulator!!