What libraries to use where

Hi all,

I’m developing my jogl project in Netbeans IDE (Version 6.1).
Now I’m totally confused which jogl libs and jars to use where:
When running my app locally on my pc (via the “Play” button in Netbeans), I get a

AccessControlException: access denied (java.util.PropertyPermission jogl.verbose read)

Note that my app ran fine before switching around with webstart and the new release 1.1.1

Also, I’m unsure what files to upload on my server for the customers.
Note: I would not like to refer to the jnlp file at http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp,
for download speed reasons, and because my latest experiences when upgrading the release from 1.1.1-rc8 to 1.1.1 (final).

For the local execution I used to store the contents of the jogl-1.1.0-windows-i586.zip archive eg. in C:\Programme\Java\jogl\ and refer to them via an entry in Netbeans Libraries (and also have the folder in the path variable).

Please help, bring some deterministic system into this confusing chaos!

Thanks in advance,
Oliver

Sorry for pushing this topic on top, but here’s some more detailed information:

My launcher.jnlp file looks like:


<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="file:/F:/MyApp/dist/" href="launch.jnlp">
    <information>
        <title>MyApp</title>
        <vendor>MyApp</vendor>
        <homepage href="http://www.MyApp.com"/>
        <description>Web MyApp Software</description>
        <description kind="short">MyApp</description>
    </information>
    <resources>
        <j2se version="1.5+"/>
        <jar href="MyApp.jar" main="true" download="eager"/>
        <jar href="lib/TimingFramework-0.56.jar" download="eager"/>
        <jar href="lib/mysql-connector-java-5.0.8-bin.jar" download="eager"/>
		<extension name="jogl" href="http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/webstart/jogl.jnlp" />
    </resources>
    <application-desc main-class="myapp.MyApp">
    </application-desc>
</jnlp>

Ok, also on my machine tha same version of jogl is installed under (the native library files with the .dlls)
c:\Programme\Java\jogl\lib
And also this directory is part of my PATH variable.
Further, I added to the “Libraries” node of my Netbeans Project the two files
c:\Programme\Java\jogl\lib\jogl.jar
and
c:\Programme\Java\jogl\lib\gluegen-rt.jar
But it does not work.
I always get the following exception


Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
	at com.sun.opengl.util.j2d.TextRenderer.<clinit>(TextRenderer.java:126)
	at hairstylecube.TextualInformer.<init>(TextualInformer.java:21)
	at hairstylecube.HairstyleCube.<init>(HairstyleCube.java:82)
	at hairstylecube.HairstyleCubeApplet$1.actionPerformed(HairstyleCubeApplet.java:67)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission jogl.verbose read)
	at java.security.AccessControlContext.checkPermission(Unknown Source)
	at java.security.AccessController.checkPermission(Unknown Source)
	at java.lang.SecurityManager.checkPermission(Unknown Source)
	at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
	at java.lang.System.getProperty(Unknown Source)
	at com.sun.opengl.impl.Debug$2.run(Debug.java:75)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.opengl.impl.Debug.isPropertyDefined(Debug.java:73)
	at com.sun.opengl.impl.Debug.<clinit>(Debug.java:52)


Please help!
Its urgent!

Thank you all very much in advance,
with the very best regards,
Oliver

Hmm that’s strange, since the jogl extension jnlp contains a security-tag with “all-permissions”, so this should work. Try to clear your webstart cache and try again.

I seem to be having exact same problem. Would be interested in solution for this as well.