jogl
  1. jogl
  2. JOGL-379

JOGL 2.0 beta JNLP applets collides with installed JOGL 1.x

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: jogl
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      379

      Description

      Hi

      JOGL 2.0 beta JNLP applets collides with installed JOGL 1.x in JRE.
      The typical output is shown below:

      Exception in thread "thread applet-demos.applets.GearsApplet-1"
      java.lang.VerifyError:
      (class: javax/media/opengl/awt/GLCanvas,
      method: chooseGraphicsConfiguration signature:
      (Ljavax/media/opengl/GLCapabilities;
      Ljavax/media/opengl/GLCapabilitiesChooser;
      Ljava/awt/GraphicsDevice Ljavax/media/nativewindow/awt/
      AWTGraphicsConfiguration

      Incompatible argument to function
      at demos.applets.GearsApplet.init(GearsApplet.java:18)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
      Source)
      at java.lang.Thread.run(Unknown Source)

      This happens because the native function has different signature, but it also
      shown a possible issue when mixing old and new DLLs.
      I'd like suggest the JOGL 2.0 native binaries(.dll, lib.so) has different
      names, to avoid cross loading : JOGL 1.x dlls being loaded by JOGL 2.0 jars,
      and vice-versa.

      Workaround :
      (parcial)
      remove JOGL 1.x from JRE6/bin and JRE6/lib/ext

        Activity

        Hide
        kbr added a comment -

        First: the JOGL project has moved to http://kenai.com/projects/jogl. Issues should be reported there and
        not on this site.

        Installing JOGL into the JRE has never been supported. See
        http://download.java.net/media/jogl/doc/userguide/ under "Local installation for development". That
        describes the suggested mechanism for developing locally with JOGL.

        Show
        kbr added a comment - First: the JOGL project has moved to http://kenai.com/projects/jogl . Issues should be reported there and not on this site. Installing JOGL into the JRE has never been supported. See http://download.java.net/media/jogl/doc/userguide/ under "Local installation for development". That describes the suggested mechanism for developing locally with JOGL.

          People

          • Assignee:
            jogl-issues
            Reporter:
            zesharp
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: