Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: JMonkeyEngine 3 not rendering.

  1. #1

    Default JMonkeyEngine 3 not rendering.

    I keep on geting an OpenGL error. I just installed version 2 but... nothing...

    I tried running my "SimpleApp" in JOGL and this popped up:

    12-May-2010 19:29:02 com.jme3.asset.DesktopAssetManager <init>
    INFO: DesktopAssetManager created.
    INFO JmeSystem 19:29:19 Running on jMonkey Engine 3 ALPHA 0.50
    INFO Natives 19:29:19 Extraction Directory #1: file:/E:/Test/jME3/
    INFO Natives 19:29:19 Extraction Directory #2: E:\Test\Hello3DWorld
    INFO Natives 19:29:19 Extraction Directory #3: E:\Test\Hello3DWorld
    Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no jogl in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1734)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at com.sun.opengl.impl.NativeLibLoader.loadLibraryInt ernal(NativeLibLoader.java:189)
    at com.sun.opengl.impl.NativeLibLoader.access$000(Nat iveLibLoader.java:49)
    at com.sun.opengl.impl.NativeLibLoader$DefaultAction. loadLibrary(NativeLibLoader.java:80)
    at com.sun.opengl.impl.NativeLibLoader.loadLibrary(Na tiveLibLoader.java:103)
    at com.sun.opengl.impl.NativeLibLoader.access$200(Nat iveLibLoader.java:49)
    at com.sun.opengl.impl.NativeLibLoader$1.run(NativeLi bLoader.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.opengl.impl.NativeLibLoader.loadCore(Nativ eLibLoader.java:109)
    at com.sun.opengl.impl.windows.WindowsGLDrawableFacto ry.<clinit>(WindowsGLDrawableFactory.java:60)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at javax.media.opengl.GLDrawableFactory.getFactory(GL DrawableFactory.java:106)
    at javax.media.opengl.GLCanvas.chooseGraphicsConfigur ation(GLCanvas.java:520)
    at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:1 31)
    at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:9 0)
    at com.jme3.system.jogl.JoglAbstractDisplay$1.<init>( JoglAbstractDisplay.java:51)
    at com.jme3.system.jogl.JoglAbstractDisplay.initGLCan vas(JoglAbstractDisplay.java:51)
    at com.jme3.system.jogl.JoglDisplay.initInEDT(JoglDis play.java:99)
    at com.jme3.system.jogl.JoglDisplay.access$000(JoglDi splay.java:20)
    at com.jme3.system.jogl.JoglDisplay$3.run(JoglDisplay .java:178)
    at java.awt.event.InvocationEvent.dispatch(Invocation Event.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java: 597)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)
    BUILD SUCCESSFUL (total time: 23 seconds).

  2. #2
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Warrington, United Kingdom
    My Mood
    Thanked 156 Times in 152 Posts

    Default Re: JMonkeyEngine 3 not rendering.

    It's happening because you are missing the jogl .dll/.so files on your classpath. They need to be generally available to the app. If you're running on windows you can try and put them in your windows/system32 folder or simply add the path to them in the java.library.path environment variable if that makes sense.

    // Json

Similar Threads

  1. Problem in JSP rendering
    By srkumarj2ee@gmail.com in forum JavaServer Pages: JSP & JSTL
    Replies: 1
    Last Post: September 13th, 2009, 02:26 PM