Login  Register

Re: Jogl Build Headache

Posted by Penny on Dec 06, 2013; 9:27pm
URL: https://forum.jogamp.org/Jogl-Build-Headache-tp4030758p4030811.html

Ok I have come full circle and I am back to my initial error...

Thread=Thread[Thread-17,4,http://zenny-x11.home/play/-threadGroup]
 java.lang.ExceptionInInitializerError
  com.jogamp.newt.awt.NewtCanvasAWT.<clinit>(96)
   com.MyTestApp.core.Main.<init>(89)
    com.MyTestApp.core.Main.init(10)
     sun.reflect.NativeMethodAccessorImpl.invoke0(-2)
      sun.reflect.NativeMethodAccessorImpl.invoke(-1)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(-1)
        java.lang.reflect.Method.invoke(-1)
         com.MyTestApp.load.Main$Com.init(304)
          com.MyTestApp.load.Main$Com.access$4500(138)
           com.MyTestApp.load.Main$Library$DefaultLibraryChecker.run(741)
            java.lang.Thread.run(-1)

Line 96 in com.jogamp.newt.awt.NewtCanvasAWT is...

    public static final boolean DEBUG = Debug.debug("Window");


How my app works is it downloads additional jars from my page server, including gluegen and jogl, and saves them to the user appData dir. The jars are then added to the applet classloader.

I am wondering that as this is the way I am using these jars that I need to call an init routine manually???

I see a initSingleton in jogamp.newt.Debug

Does anyone know of the correct method to instantiate gluegen and jogl??

many thanks
Penny