Login  Register

Re: Applet deploy serious problems.

Posted by Sven Gothel on Oct 27, 2012; 1:05am
URL: https://forum.jogamp.org/Solved-Applet-deploy-serious-problems-tp4026628p4026629.html

On 10/27/2012 01:34 AM, cupcakey [via jogamp] wrote:
> I've been trying to deploy an applet literally for 3 days straight non-stop.
> Can't get it right. I've tried everything I can think of. Even a random walk
> approach, hah. Would really love some insight.
>
> URL : http://realchemist.zxq.net/pages/Applets/test.html
> code:
>

Please read (again):
  <http://jogamp.org/wiki/index.php/Using_JOGL_in_a_Java_applet>

.. or simply checked the referenced demo applet page w/ the tags:

  NApplet (PREFERRED!!):
    <http://jogamp.org/deployment/jogamp-current/jogl-applet-runner-newt-gears-normal-napplet.html>

  Dual (JNLP-Applet + Our JNLPAppletLauncher):
    <http://jogamp.org/deployment/jogamp-current/jogl-applet-runner-newt-gears-normal.html>

So .. in short, for a long while we have renamed the JAR files
to be consistent:
  jogl.all.jar  -> jogl-all.jar
  jogl-all.jnlp -> jogl-all-awt.jnlp

Please try again .. sorry for your inconvenience.

Always check our demos, whether they are (still) running
and then .. whats the difference ..

~Sven

>    <comment>
>      <embed code="org.jdesktop.applet.util.JNLPAppletLauncher"

Note: I would _not_ use the JNLPAppletLauncher anymore
      but the new NApplet launching method!

>           width="256" height="320"
>           type="application/x-java-applet;version=1.6"
>           pluginspage="http://java.sun.com/javase/downloads/ea.jsp"
> <http://java.sun.com/javase/downloads/ea.jsp%22>
>           archive="http://jogamp.org/deployment/webstart/jar/gluegen-rt.jar,
>                http://jogamp.org/deployment/webstart/jar/jogl.all.jar,

now use -> jogl-all.jar

>                http://www.angelfire.com/indie/kcsoft/orbexplor.jar"
> <http://www.angelfire.com/indie/kcsoft/orbexplor.jar%22>
>           codebase_lookup="false"
>           subapplet.classname="OrbitalExplorer.orbitalExplorerApp"
>           subapplet.displayname" value="JOGL Gears Applet"
>           noddraw.check" value="true"
>           progressbar="true"
>           jnlpNumExtensions="1"
>           jnlpExtension1="http://jogamp.org/deployment/webstart/jogl-awt.jnlp"

use -> jogl-all-awt.jnlp !

> <http://jogamp.org/deployment/webstart/jogl-awt.jnlp%22>
>           java_arguments="-Dsun.java2d.noddraw=true"
>           jnlp_href="http://www.angelfire.com/indie/kcsoft/oe.jnlp"
> <http://www.angelfire.com/indie/kcsoft/oe.jnlp%22>>
>         <noembed>Sorry, no Java support detected.</noembed>
>      
>    </comment>
>
>

>
> I'm willing to work through this tooth and nail but I'm begining to think
> jogl2.0 is broken... Any ideas?

Should work when reflecting the above .. since all our demos do.

~Sven



signature.asc (907 bytes) Download Attachment