Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  -Dsun.java2d.opengl=true and XmlBean  (Read 963 times)
0 Members and 1 Guest are viewing this topic.
Offline tuxan

JGO n00b
*

Posts: 7



« on: 2011-02-04 16:43:33 »

Hi, I'm doing an Applet using JOGL, J2D and XmlBean.

but when I use <property name="sun.java2d.opengl" value="true" /> in my jnlp file I get the following exception:

exception in QueueFlusher:
java.lang.IllegalStateException: access denied (java.lang.RuntimePermission getClassLoader)
   at org.apache.xmlbeans.XmlBeans.getContextTypeLoader(XmlBeans.java:336)
   at org.collada.x2005.x11.colladaSchema.COLLADADocument$Factory.parse(Unknown Source)
        at tuxan.test.jogl.collada.ColladaScene.loadFile(ColladaScene.java:47)
.....

According to the exception I have no permission to use the function COLLADADocument.Factory.parse(getClass().getResourceAsStream(daeFile));
This function is generated xmlbean and collada specification 1.4 (xsd).

Any suggestions?
Thanks
Offline dim_9999

JGO n00b
*

Posts: 15



« Reply #1 on: 2011-02-06 06:58:15 »


Hi! I think you have to sign you applet...

Love is a lonely laughter resonant in the middle of endless moaning of hell
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.062 seconds with 21 queries.