Lightweight Java Game Library (LWJGL)
I learned recently that the Lightweight Java Game Library (LWJGL) now supports Solaris x86, so I thought I'd give it a spin. The more interesting aspect to this is the jMonkey Engine, which I'll talk about in a later entry. For now, follow these steps if you want to test the LWJGL on your system:
- Download and extract the lwjgl-2.1.0.zip.
- To test it, open a terminal and navigate to the folder where the archive was extracted and issue the following command:
java -cp jar/lwjgl.jar:jar/lwjgl_test.jar:jar/lwjgl_util.jar -Djava.library.path=native/solaris org.lwjgl.test.WindowCreationTest
You should see something like:
The following keys are available: ESCAPE: Exit test ARROW Keys: Move window when in non-fullscreen mode L: List selectable display modes 0-8: Selection of display modes F: Toggle fullscreen SHIFT-F: Toggle fullscreen with Display.destroy()/create() cycle Found 21 display modes Problem retrieving mode with 640x480x16@-1 Problem retrieving mode with 640x480x32@-1 Problem retrieving mode with 800x600x16@-1 Problem retrieving mode with 800x600x32@-1 Problem retrieving mode with 1024x768x16@-1 Problem retrieving mode with 1024x768x32@-1
Along with a 640x480 "glowing" window:

Like I said, this will get more interesting and relevant when we bring the jMonkey Engine into the picture.
How is the solaris native built? I couldn't find it in the src package.
Posted by Kristofer on May 07, 2009 at 08:13 PM GMT #
I'm not familiar with the specifics on how the Solaris native is built. I would suggest asking in the LWJGL forum: http://lwjgl.org/forum/ .
Regards,
Brian
Posted by Brian Leonard on May 08, 2009 at 02:40 PM GMT #
thanks for sharing
-------------------------------------
Download Java Game, Ringtones,Wallpaper,Themes Free
--> <a href="http://www.mobilejavara.com"> Download Here !!!</a>
http://www.mobilejavara.com
Posted by hana on June 05, 2009 at 06:57 AM GMT #