Linux with jdk 1.4.2 problem

trying to run any test throws

java.lang.Error: getenv no longer supported, use properties and -D instead: LWJGL_DISABLE_XRANDR

        at java.lang.System.getenv(

        at org.lwjgl.opengl.LinuxDisplay.isXrandrSupported(

        at org.lwjgl.opengl.LinuxDisplay.getBestDisplayModeExtension(

        at org.lwjgl.opengl.LinuxDisplay.init(

        at org.lwjgl.opengl.Display.<clinit>(

        at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(



        at jmetest.base.TestSimpleGame.main(

has anyone encountered this. I'm running suse linux 10.

When using JDK 1.5 everything works fine but when exiting the application a native error is thrown:


An unexpected error has been detected by HotSpot Virtual Machine:


#  SIGSEGV (0xb) at pc=0x46783cf4, pid=12477, tid=1179597744


Java VM: Java HotSpot™ Client VM (1.5.0_06-b05 mixed mode, sharing)

Problematic frame:

C  0x46783cf4


An error report file with more information is saved as hs_err_pid12477.log


If you would like to submit a bug report, please visit:


Java Result: 192

There's a topic about the getenv stuff on the LWJGL forums I think.

Seems that the getenv problem will be solved by the 1.0 release of lwjgl.

So jdk 1.5 is the only way for suse linux at this point.