Results 1 to 3 of 3
  1. #1
    Albert is offline Senior Member
    Join Date
    Jun 2007
    Posts
    114
    Rep Power
    0

    Default java.lang.UnsatisfiedLinkError: JAWT_GetAWT()

    I'm having trouble running my code on Linux (it works on Windows). The error is at runtime and is java.lang.UnsatisfiedLinkError: JAWT_GetAWT(). It happens in my call to GLDrawableFactory.getFactory().createGLCanvas(glCa ps);. I've been trying to make sure that libjogl.so is being accessed and haven't had any luck.

    Any ideas?

    Albert:rolleyes:

  2. #2
    Daniel is offline Member
    Join Date
    Jun 2007
    Posts
    91
    Rep Power
    0

    Default

    This is a pretty old bug. There are a few workarounds but your best bet is to upgrade the JDK you have on Linux. From what I can see it looks like this is a 1.4.0 bug.

    I found this link that shows a possible workaround.
    Greetings
    Daniel:o

  3. #3
    Felissa is offline Member
    Join Date
    Jun 2007
    Posts
    95
    Rep Power
    0

    Default

    You must mention -Djava.library.path="<path to the libjogl">,
    Also, on LINUX please enter the LD_LIBRARY_PATH=<path to the libjogl>
    and don't forget to export LD_LIBRARY_PATH.

    This should solve your problem. Otherwise please give the complete error output.

    Felissa:p

Similar Threads

  1. java.lang.OutOfMemoryError: Java heap space
    By paul in forum Advanced Java
    Replies: 11
    Last Post: 06-12-2010, 05:30 PM
  2. Replies: 3
    Last Post: 09-07-2009, 01:28 PM
  3. Replies: 2
    Last Post: 09-18-2008, 07:30 AM
  4. Replies: 0
    Last Post: 08-12-2007, 03:23 PM
  5. java.lang.OutOfMemoryError with java vector
    By mary in forum New To Java
    Replies: 3
    Last Post: 08-03-2007, 10:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •