Bug 1271 : JOGL expired certificates and other dialogs
Last modified: 2009-07-13 11:02




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P1
Severity:
normal

 

Reporter:
threesixty3d
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2009-06-09 10:57
1. [ALL SYSTEMS] When running an opengl applet from a website, the user has
to confirm that he trusts the JOGLAppletLauncher certificate (which has
expired). For most non-technical users this is really scary stuff.

No workarounds found so far.

2. [WINDOWS] When running an opengl applet for the first time, JOGL asks
some weird stuff about JAVA2D, DIRECTDRAW and deployment.properties. This
is even more scary than point one; a browser restart is required too, and
in many situations causes the browser to freeze.

Workaround:
http://download.java.net/media/jogl/builds/nightly/javadoc_public/com/sun/opengl/util/JOGLAppletLauncher.html

Add the following tag
<param name="jogl.silent.noddraw.check" value="true" />
in the applet html, inside
<body/div/div/object
classid="java:com.sun.opengl.util.JOGLAppletLauncher.class">

The link also explains that the check can be disabled as well.

Is it possible to change the default html template (the html generated with
ctrl + E) integrating one of these options?
It would be really useful to be able to change such html template to
automate other modifications as well.

Thanks for your time, p5 rules!

Michele
michele@psrnd.com
Additional Comment #1 From fry 2009-06-10 14:50
ah, thanks for the heads up, i'll get a fix in there shortly. just need to
re-download the updated jogl from the sun site. i can't believe they let
things expire like that.

for the future, please put separate issues in separate bug reports--i can't
track them when they're mixed like this. it's not a big deal in this case
because i'll just fix both at the same time, but that's really rare.
Additional Comment #2 From fry 2009-06-15 12:22
the fix is to unzip the java webstart version of jogl (the jar file is just
a zip), and use those files to replace the identically named files in
libraries -> opengl.
Additional Comment #3 From threesixty3d 2009-07-02 04:54
Hi Ben, this is what I've done but it doesn't work, I'm probably missing
something obvious here but I'm no java expert, anyways ... I've extracted
jogl-1.1.1a-webstart.zip into
C:\Program Files\processing-1.0.5\libraries\opengl\library

jogl-1.1.1a-webstart.zip comes from here:
https://jogl.dev.java.net/
The link I've used is "Current release build (JSR-231 1.1.1a)"

Now the Java console (Java Plug-in 1.6.0_14) logs the following error:
Error: Native library gluegen-rt.dll isn't properly signed or has other error
Additional Comment #4 From threesixty3d 2009-07-12 08:04
Ok, I just gave it another try and it seems I got it working this time.

Here's a simplified explaination of what needs to be done.

1. Download the jogl webstart release build from https://jogl.dev.java.net
and extract the webstart zip file
2. Download the files in http://download.java.net/media/gluegen/webstart

Place the files in C:\Program
Files\processing-1.0.5\libraries\opengl\library (except the solaris ones
and gluegen-rt.jnlp, not sure what's this last file is required for)

Please let me know in case I did something wrong, I have only tested this
under windows + firefox and it works.

-m
Additional Comment #5 From fry 2009-07-13 11:02
fixed for the next release (1.0.6, most likely)