Jogl initialisation
Posted by Penny on Dec 08, 2013; 10:32pm
URL: https://forum.jogamp.org/Jogl-initialisation-tp4030830.html
Hiya,
My project is an applet which runs within a browser.
If I include gluegen and jogl in the html object the classes are loaded unsigned and are unable to access resources. An access control exception occurs. I don't know why these classes are loaded without permissions because everything is signed and trusted.
Alternatively, and ideally, I have attempted my loader applet to download the gluegen and jogl jars dynamically, save them to the repository and then define each class with the appropriate ProtectionDomain.
The problem here is I get java.lang.ExceptionInInitializerError.
Does anyone know how to "initialise" or "instantiate" the gluegen and jogl classes when they are dynamically loaded?
or does anyone know how to make gluegen and jogl privileged if they are loaded in the html object.
thanks
Penny