<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>379</bug_id>
          
          <creation_ts>2009-10-22 09:43:16 +0200</creation_ts>
          <short_desc>JOGL 2.0 beta JNLP applets collides with installed JOGL 1.x</short_desc>
          <delta_ts>2010-03-24 07:51:52 +0100</delta_ts>
          <reporter_accessible>0</reporter_accessible>
          <cclist_accessible>0</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>395</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-24 07:51:52 +0100</bug_when>
    <thetext>


---- Reported by zesharp 2009-10-22 09:43:16 ----

Hi 

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

Exception in thread &quot;thread applet-demos.applets.GearsApplet-1&quot; 
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&apos;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



---- Additional Comments From kbr 2009-10-22 10:39:11 ----

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 &quot;Local installation for development&quot;. That 
describes the suggested mechanism for developing locally with JOGL.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:51 EDT  ---

This bug was previously known as _bug_ 379 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=379
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>