From 971190d8718bb1e2b7eafdd49cfa2523dd8a8152 Mon Sep 17 00:00:00 2001
From: Sven Gothel
Date: Wed, 22 Jan 2014 10:24:38 +0100
Subject: Adapt to Oracle's removal of the Java Applet Sandbox, i.e. >= 7u51 ;
Remove reference to JNLPAppletLauncher - use NApplet fallback
Sadly, due to Oracle's Java Applet Plugin update 7u51,
unsigned applets are no more allowed and hence the
Applet sandbox is being taken away.
---
jnlp-files/CustomText.jnlp | 3 +
jnlp-files/FlyingText.jnlp | 3 +
jnlp-files/Gears.jnlp | 3 +
jnlp-files/GearsDebug.jnlp | 3 +
jnlp-files/HDR.jnlp | 3 +
jnlp-files/HDRDebug.jnlp | 3 +
jnlp-files/HWShadowmapsSimple.jnlp | 3 +
jnlp-files/InfiniteShadowVolumes.jnlp | 3 +
jnlp-files/JRefract.jnlp | 3 +
jnlp-files/JRefractNoOGL.jnlp | 3 +
jnlp-files/ParticleEngine.jnlp | 3 +
jnlp-files/ProceduralTexturePhysics.jnlp | 3 +
jnlp-files/TestTextRenderer.jnlp | 3 +
jnlp-files/TextCube.jnlp | 3 +
jnlp-files/TextCubeDebug.jnlp | 3 +
jnlp-files/TextFlow.jnlp | 3 +
jnlp-files/VertexArrayRange.jnlp | 3 +
jnlp-files/VertexBufferObject.jnlp | 3 +
jnlp-files/VertexProgRefract.jnlp | 3 +
jnlp-files/VertexProgWarp.jnlp | 3 +
jnlp-files/WorldWindBasicDemo.jnlp | 6 +-
jnlp-files/XTrans.jnlp | 3 +
jnlp-files/applet-gears-debug.html | 28 +----
jnlp-files/applet-gears-debug.jnlp | 3 +
jnlp-files/applet-gears-launcheronly.html | 128 -----------------------
jnlp-files/applet-gears-napplet.html | 51 +++++++--
jnlp-files/applet-gears.html | 112 +++++++-------------
jnlp-files/applet-gears.jnlp | 4 +
jnlp-files/applet-gearsjoal-launcheronly.html | 142 --------------------------
jnlp-files/applet-gearsjoal-napplet.html | 19 ++--
jnlp-files/applet-gearsjoal.html | 108 +++-----------------
jnlp-files/applet-gearsjoal.jnlp | 3 +
jnlp-files/test.html | 25 +++--
jnlp-files/version.jnlp | 3 +
jnlp-files/worldwind.jnlp | 6 +-
make/build.xml | 24 +++--
make/scripts/make.jogl.all.x86_64.sh | 3 +
manifest.mf | 5 +
www/index.html | 11 +-
39 files changed, 234 insertions(+), 510 deletions(-)
delete mode 100644 jnlp-files/applet-gears-launcheronly.html
delete mode 100644 jnlp-files/applet-gearsjoal-launcheronly.html
diff --git a/jnlp-files/CustomText.jnlp b/jnlp-files/CustomText.jnlp
index 1a10367..9232ab5 100644
--- a/jnlp-files/CustomText.jnlp
+++ b/jnlp-files/CustomText.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/FlyingText.jnlp b/jnlp-files/FlyingText.jnlp
index bdbdf54..9c3b303 100644
--- a/jnlp-files/FlyingText.jnlp
+++ b/jnlp-files/FlyingText.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/Gears.jnlp b/jnlp-files/Gears.jnlp
index 3b0da3a..b677d2e 100755
--- a/jnlp-files/Gears.jnlp
+++ b/jnlp-files/Gears.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/GearsDebug.jnlp b/jnlp-files/GearsDebug.jnlp
index 1495ab4..3be3340 100755
--- a/jnlp-files/GearsDebug.jnlp
+++ b/jnlp-files/GearsDebug.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/HDR.jnlp b/jnlp-files/HDR.jnlp
index 8685065..c3ab8af 100755
--- a/jnlp-files/HDR.jnlp
+++ b/jnlp-files/HDR.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/HDRDebug.jnlp b/jnlp-files/HDRDebug.jnlp
index d49f92c..4f494f1 100755
--- a/jnlp-files/HDRDebug.jnlp
+++ b/jnlp-files/HDRDebug.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/HWShadowmapsSimple.jnlp b/jnlp-files/HWShadowmapsSimple.jnlp
index 51af1b8..6b9aa40 100644
--- a/jnlp-files/HWShadowmapsSimple.jnlp
+++ b/jnlp-files/HWShadowmapsSimple.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/InfiniteShadowVolumes.jnlp b/jnlp-files/InfiniteShadowVolumes.jnlp
index ff1d3a2..fdbd021 100644
--- a/jnlp-files/InfiniteShadowVolumes.jnlp
+++ b/jnlp-files/InfiniteShadowVolumes.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/JRefract.jnlp b/jnlp-files/JRefract.jnlp
index 8f63eee..a286273 100644
--- a/jnlp-files/JRefract.jnlp
+++ b/jnlp-files/JRefract.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/JRefractNoOGL.jnlp b/jnlp-files/JRefractNoOGL.jnlp
index dbc8905..a259182 100644
--- a/jnlp-files/JRefractNoOGL.jnlp
+++ b/jnlp-files/JRefractNoOGL.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/ParticleEngine.jnlp b/jnlp-files/ParticleEngine.jnlp
index e6ae8ce..3c15973 100644
--- a/jnlp-files/ParticleEngine.jnlp
+++ b/jnlp-files/ParticleEngine.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/ProceduralTexturePhysics.jnlp b/jnlp-files/ProceduralTexturePhysics.jnlp
index c5c8bd0..124edac 100644
--- a/jnlp-files/ProceduralTexturePhysics.jnlp
+++ b/jnlp-files/ProceduralTexturePhysics.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/TestTextRenderer.jnlp b/jnlp-files/TestTextRenderer.jnlp
index d08622d..0493e19 100644
--- a/jnlp-files/TestTextRenderer.jnlp
+++ b/jnlp-files/TestTextRenderer.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/TextCube.jnlp b/jnlp-files/TextCube.jnlp
index ef55d33..31edc8c 100644
--- a/jnlp-files/TextCube.jnlp
+++ b/jnlp-files/TextCube.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/TextCubeDebug.jnlp b/jnlp-files/TextCubeDebug.jnlp
index e54aeb1..0688557 100644
--- a/jnlp-files/TextCubeDebug.jnlp
+++ b/jnlp-files/TextCubeDebug.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/TextFlow.jnlp b/jnlp-files/TextFlow.jnlp
index 63bcc86..1427505 100644
--- a/jnlp-files/TextFlow.jnlp
+++ b/jnlp-files/TextFlow.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/VertexArrayRange.jnlp b/jnlp-files/VertexArrayRange.jnlp
index aa90f65..72f669d 100644
--- a/jnlp-files/VertexArrayRange.jnlp
+++ b/jnlp-files/VertexArrayRange.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/VertexBufferObject.jnlp b/jnlp-files/VertexBufferObject.jnlp
index febb732..f7c7526 100644
--- a/jnlp-files/VertexBufferObject.jnlp
+++ b/jnlp-files/VertexBufferObject.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/VertexProgRefract.jnlp b/jnlp-files/VertexProgRefract.jnlp
index 887d00c..124ef47 100644
--- a/jnlp-files/VertexProgRefract.jnlp
+++ b/jnlp-files/VertexProgRefract.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/VertexProgWarp.jnlp b/jnlp-files/VertexProgWarp.jnlp
index 7374ae4..8c9a71c 100644
--- a/jnlp-files/VertexProgWarp.jnlp
+++ b/jnlp-files/VertexProgWarp.jnlp
@@ -10,6 +10,9 @@
+
+
+
diff --git a/jnlp-files/WorldWindBasicDemo.jnlp b/jnlp-files/WorldWindBasicDemo.jnlp
index 14fea2d..810779b 100644
--- a/jnlp-files/WorldWindBasicDemo.jnlp
+++ b/jnlp-files/WorldWindBasicDemo.jnlp
@@ -11,9 +11,9 @@
-
-
-
+
+
+
+
+
+
diff --git a/jnlp-files/applet-gears-debug.html b/jnlp-files/applet-gears-debug.html
index f1b3790..4b5ec5f 100644
--- a/jnlp-files/applet-gears-debug.html
+++ b/jnlp-files/applet-gears-debug.html
@@ -5,42 +5,24 @@
-JOGL JNLP Applet Test w/ JNLPAppletLauncher fallback and debug
+JOGL JNLP Applet Test w/ NApplet fallback and debug
-
-
+
-
-
-
-
-
-
-
-
-
Sorry, no Java support detected.
diff --git a/jnlp-files/applet-gears-debug.jnlp b/jnlp-files/applet-gears-debug.jnlp
index f188997..a87db59 100644
--- a/jnlp-files/applet-gears-debug.jnlp
+++ b/jnlp-files/applet-gears-debug.jnlp
@@ -9,6 +9,9 @@
+
+
+
diff --git a/jnlp-files/applet-gears-launcheronly.html b/jnlp-files/applet-gears-launcheronly.html
deleted file mode 100644
index 04a1ce3..0000000
--- a/jnlp-files/applet-gears-launcheronly.html
+++ /dev/null
@@ -1,128 +0,0 @@
-
-
-
-JOGL Applet Test
-
-
-
-
-
-The new JNLPAppletLauncher
-enables the creation and deployment of applets using 3D graphics via
-OpenGL without requiring the applet to be signed or performing any
-manual installation of software on users' computers. It has been
-tested and should work on any OS/CPU combination supported by JOGL
-with a Java Runtime Environment version 1.4.2 or later installed into
-the web browser. Here is an example of the standard Gears demo running
-as an applet:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sorry, no Java support detected.
-
-
-
-
-
-
-
-
-The applet above is instantiated with the following code:
-
-
-<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
- width="600" height="400">
- <param name="code" value="org.jdesktop.applet.util.JNLPAppletLauncher">
- <param name="archive" value="../jar/applet-launcher.jar,
- ../jar/gluegen-rt.jar,
- ../jar/jogl-all.jar,
- jar/jogl-demos.jar">
- <param name="codebase_lookup" value="false">
- <param name="subapplet.classname" value="demos.applets.GearsApplet">
- <param name="subapplet.displayname" value="JOGL Gears Applet">
- <param name="noddraw.check" value="true">
- <param name="progressbar" value="true">
- <param name="jnlpNumExtensions" value="1">
- <param name="jnlpExtension1"
- value="../jogl-all-awt.jnlp">
- <param name="java_arguments" value="-Dsun.java2d.noddraw=true">
- <comment>
- <embed code="org.jdesktop.applet.util.JNLPAppletLauncher"
- width="600" height="400"
- type="application/x-java-applet;version=1.6"
- pluginspage="http://java.sun.com/javase/downloads/ea.jsp"
- archive="../jar/applet-launcher.jar,
- ../jar/gluegen-rt.jar,
- ../jar/jogl-all.jar,
- jar/jogl-demos.jar"
- codebase_lookup="false"
- subapplet.classname="demos.applets.GearsApplet"
- subapplet.displayname" value="JOGL Gears Applet"
- noddraw.check" value="true"
- progressbar="true"
- jnlpNumExtensions="1"
- jnlpExtension1="../jogl-all-awt.jnlp"
- java_arguments="-Dsun.java2d.noddraw=true">
- <noembed>Sorry, no Java support detected.</noembed>
- </embed>
- </comment>
-</object>
-
-
-
-
-
-Note that the jogl-demos.jar, which contains the GearsApplet class,
-does not need to be signed ! JogAmp Community signs
-applet-launcher.jar, jogl.jar and gluegen-rt.jar, which contain the
-JNLPAppletLauncher and JOGL's supporting classes; this is the only
-Java code which needs to be signed in order to deploy applets using
-JOGL and is the only certificate the end user must accept.
-
-
-
-
-The JNLPAppletLauncher
-home page contains more information about what files must be
-placed on the web server in order to enable the deployment of applets
-using JOGL and other extensions.
-
-
-
-
-
diff --git a/jnlp-files/applet-gears-napplet.html b/jnlp-files/applet-gears-napplet.html
index 4d7f033..cb984bf 100644
--- a/jnlp-files/applet-gears-napplet.html
+++ b/jnlp-files/applet-gears-napplet.html
@@ -5,8 +5,10 @@
-JOGL NApplet Gears
-
+
+The Applet is launched as an NApplet .
+
+
@@ -27,17 +29,46 @@ JOGL NApplet Gears
-
+
+
+
-
+The applet above is instantiated with the following code:
-Note that the jogl-demos.jar and joal-demos.jar files, which contain
-the applet's classes, do not need to be signed ! JogAmp Community
-signs jogl, joal and gluegen JAR files, which contain JOGL, JOAL and
-supporting classes; this is the only Java code which needs to be
-signed in order to deploy applets using JOGL and JOAL and is the only
-certificate the end user must accept.
+
+<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
+ width="600" height="400">
+ <param name="code" value="demos.applets.GearsApplet">
+ <param name="archive" value="../jar/gluegen-rt.jar,
+ ../jar/jogl-all.jar,
+ jar/jogl-demos.jar">
+ <comment>
+ <embed code="demos.applets.GearsApplet"
+ width="600" height="400"
+ type="application/x-java-applet;version=1.6"
+ pluginspage="http://java.sun.com/javase/downloads/ea.jsp"
+ archive="../jar/gluegen-rt.jar,
+ ../jar/jogl-all.jar,
+ jar/jogl-demos.jar">
+ <noembed>Sorry, no Java support detected.</noembed>
+ </embed>
+ </comment>
+</object>
+
+
+
+
+Note that the jogl-demos.jar, which contains the GearsApplet class,
+does not need to be signed ! JogAmp Community signs
+jogl.jar and gluegen-rt.jar, which contain the
+JOGL's supporting classes; this is the only
+Java code which needs to be signed in order to deploy applets using
+JOGL and is the only certificate the end user must accept.
+
+Sadly, due to Oracle's Java Applet Plugin update 7u51,
+unsigned applets are no more allowed and hence the
+Applet sandbox is being taken away.
diff --git a/jnlp-files/applet-gears.html b/jnlp-files/applet-gears.html
index df5f207..94f563f 100644
--- a/jnlp-files/applet-gears.html
+++ b/jnlp-files/applet-gears.html
@@ -5,55 +5,37 @@
-
-In case your Java Plugin supports JNLP ,
-the applet-gears.jnlp is used,
-otherwise it shall fallback to JNLPAppletLauncher .
-
+
+In case your Java Plugin supports JNLP ,
+the applet-gears.jnlp is used,
+otherwise it shall fallback to NApplets .
+
-
+
Note that it is important for the startup time to have the same JVM arguments in the applet tags,
as well as within the JNLP applet description, here see property sun.java2d.noddraw .
Only if JVM arguments of the JNLP applet description are satisfied by the applet tag's JVM,
the plugin will not need to start a new JVM. OF course, the applet tag's JVM spec may exceed the
JNLP applet's one.
-
+
-
+
-
-
+
-
-
-
-
-
-
-
-
-
Sorry, no Java support detected.
@@ -61,50 +43,34 @@ JNLP applet's one.
-
-
+
+
The applet above is instantiated with the following code:
+
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="600" height="400">
- <param name="code" value="org.jdesktop.applet.util.JNLPAppletLauncher">
- <param name="archive" value="../jar/applet-launcher.jar,
- ../jar/gluegen-rt.jar,
+ <param name="code" value="demos.applets.GearsApplet">
+ <param name="archive" value="../jar/gluegen-rt.jar,
../jar/jogl-all.jar,
jar/jogl-demos.jar">
- <param name="codebase_lookup" value="false">
- <param name="subapplet.classname" value="demos.applets.GearsApplet">
- <param name="subapplet.displayname" value="JOGL Gears Applet">
- <param name="noddraw.check" value="true">
- <param name="progressbar" value="true">
- <param name="jnlpNumExtensions" value="1">
- <param name="jnlpExtension1" value="../jogl-all-awt.jnlp">
- <param name="java_arguments" value="-Dsun.java2d.noddraw=true">
<param name="jnlp_href" value="applet-gears.jnlp">
<comment>
- <embed code="org.jdesktop.applet.util.JNLPAppletLauncher"
+ <embed code="demos.applets.GearsApplet"
width="600" height="400"
type="application/x-java-applet;version=1.6"
pluginspage="http://java.sun.com/javase/downloads/ea.jsp"
- archive="../jar/applet-launcher.jar,
- ../jar/gluegen-rt.jar,
+ archive="../jar/gluegen-rt.jar,
../jar/jogl-all.jar,
jar/jogl-demos.jar"
- codebase_lookup="false"
- subapplet.classname="demos.applets.GearsApplet"
- subapplet.displayname" value="JOGL Gears Applet"
- noddraw.check" value="true"
- progressbar="true"
- jnlpNumExtensions="1"
- jnlpExtension1="../jogl-all-awt.jnlp"
- java_arguments="-Dsun.java2d.noddraw=true"
jnlp_href="applet-gears.jnlp">
<noembed>Sorry, no Java support detected.</noembed>
</embed>
</comment>
</object>
+
Where the referenced JNLP file applet-gears.jnlp looks as follow:
@@ -116,17 +82,22 @@ Where the referenced JNLP file applet-gears.jnlp looks as follow:
<title>JOGL JNLP Applet Gears Demo</title>
<vendor>JogAmp Community</vendor>
<homepage href="http://jogamp.org/jogl-demos/"/>
- <description>Gears Demo</description>
+ <description>Gears Demo </description>
<description kind="short">Brian Paul's Gears demo ported to Java and JOGL.</description>
<offline-allowed/>
</information>
+ <update check="background" policy="always"/>
+ <security>
+ <all-permissions/>
+ </security>
+
<resources>
<j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
<property name="sun.java2d.noddraw" value="true"/>
- <jar href="http://jogamp.org/deployment/jogamp-current/jogl-demos/jar/jogl-demos.jar" main="true"/>
- <jar href="http://jogamp.org/deployment/jogamp-current/jogl-demos/jar/jogl-demos-util.jar"/>
- <extension name="newt-all-awt" href="http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp" />
+ <jar href="jar/jogl-demos.jar" main="true"/>
+ <jar href="jar/jogl-demos-util.jar"/>
+ <extension name="jogl-all-awt" href="../jogl-all-awt.jnlp" />
</resources>
<applet-desc
@@ -138,25 +109,20 @@ Where the referenced JNLP file applet-gears.jnlp looks as follow:
</jnlp>
-
-
-
+
+
+
Note that the jogl-demos.jar, which contains the GearsApplet class,
does not need to be signed ! JogAmp Community signs
-applet-launcher.jar, jogl.jar and gluegen-rt.jar, which contain the
-JNLPAppletLauncher and JOGL's supporting classes; this is the only
+jogl-all.jar and gluegen-rt.jar, which contain the
+JOGL's supporting classes; this is the only
Java code which needs to be signed in order to deploy applets using
JOGL and is the only certificate the end user must accept.
-
-
-
-
-The JNLPAppletLauncher
-home page contains more information about what files must be
-placed on the web server in order to enable the deployment of applets
-using JOGL and other extensions.
-
-
+
+Sadly, due to Oracle's Java Applet Plugin update 7u51,
+unsigned applets are no more allowed and hence the
+Applet sandbox is being taken away.
+