Hi all,
I've converted my JOGL 1 Aplet to JOGL 2 It runs OK in Netbeans. I've modified The HMTL & JNLP files for JOGL2 I'm trying to deploy it on the web and I get this Error when I run the applet form the web site. Exception in thread "thread applet-UDO.udo-1" java.lang.NoClassDefFoundError: javax/media/opengl/GLCapabilitiesImmutable at UDO.udo.init(udo.java:219) Here is the applet code <applet code="org.jdesktop.applet.util.JNLPAppletLauncher" width=1000 height=592 archive="http://jogamp.org/deployment/util/applet-launcher.jar, http://jogamp.org/deployment/webstart/nativewindow.all.jar, http://jogamp.org/deployment/webstart/jogl.all.jar, http://jogamp.org/deployment/webstart/gluegen-rt.jar, http://jogamp.org/deployment/webstart/newt.all.jar, http://www.lagence3d.com/products/udo3/lib/vecmath.jar, http://www.lagence3d.com/products/udo3/UDO.jar"> <param name="codebase_lookup" value="false"> <param name="subapplet.classname" value="UDO.udo"> <param name="subapplet.displayname" value="UDO Applet"> <param name="noddraw.check" value="true"> <param name="progressbar" value="true"> <param name="image" value="loading.gif"> <param name="house" value="udo-80.rply" /> <param name="website" value="http://www.lagence3d.com/products/udo3/" /> <param name="websitesql" value="http://www.udo-construction.com/dev/scripts/" /> <param name="jnlpNumExtensions" value="1"> <param name="jnlpExtension1" value="http://download.java.net/media/jogl/jsr-231-2.x-webstart/jogl-core.jnlp"> <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> <param name="jnlp_href" value="toto.jnlp"> </applet> Here is the JNLP File <?xml version="1.0" encoding="utf-8"?> <jnlp href="toto.jnlp"> <information> <title>Udo applet</title> <vendor>AG3D</vendor> <homepage href="http://www.lagence3d.com/products/udo3/"/> <description>UDO Demo</description> <description kind="short">B JOGL.</description> <offline-allowed/> </information> <resources> <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/> <property name="sun.java2d.noddraw" value="true"/> <jar href="http://www.lagence3d.com/products/udo3/UDO.jar" main="true"/> <extension name="jogl-all-awt" href="http://jogamp.org/deployment/webstart-next/jogl-all-awt.jnlp" /> </resources> <applet-desc name="UDO" main-class="UDO.udo" width="1000" height="592"> </applet-desc> </jnlp> Any help would be greatly apreciated, Thanks |
Administrator
|
Maybe try starting with a simpler example, then progressing to your full app? For example these two links
http://jogamp.762907.n3.nabble.com/JOGL-Web-Start-Applet-in-a-Local-Net-tp2278856p2288671.html http://jogamp.762907.n3.nabble.com/JOGL-Web-Start-Applet-in-a-Local-Net-tp2278856p2295134.html show how to make a super-simple local test case using nothing but files in the b266 autobuild. It also seems a little weird that you're referring to all the JOGL JARs on the JogAmp web site instead of putting them on your own web server |
Ok, thanks for the reply.
I will take it step by step to try and understand what's happening I reference JOGAMP files because i thought It was a good idea to always have the latest files ? No ? |
Administrator
|
You're right, it is a good idea, using JogAmp files and storing them on your own server are 2 different solutions that have their advantages and their drawbacks. The problem is that I'm not sure that the build you use on JogAmp is really up-to-date.
offtopic: I see that JOGL has some success in fitting-out softwares, Previznet uses JOGL for Playviz
Julien Gouesse | Personal blog | Website
|
In reply to this post by thefrog
On 01/23/2011 05:10 PM, thefrog [via jogamp] wrote:
> Ok, thanks for the reply. > I will take it step by step to try and understand what's happening > > I reference JOGAMP files because i thought It was a good idea to > always have the latest files ? > No ? thats fine if thats really that what you want. You could for instance have the requirement to test your application with upgraded libraries before "shipment". regards, michael -- http://michael-bien.com/ |
Free forum by Nabble | Edit this page |