I've spent dozens of hours reading and searching the internet, and I'm
still stumped why some Windows installations are not able to run my
QTJava based applet even though QuickTime is installed
(java.lang.NoClassDefFoundError: quicktime/QTException). I have some
additional details and a question that might spur someone to an
insightful nudge.
On a Windows system that fails (full details at the end of this message):
Which is where QTJava.zip is found, but java.class.path is
C:\PROGRA~1\Java\jre6\classes. Not sure if that is relevant...
Of the dumped system properties, only java.library.path makes any
mention of the QTSystem folder.
I ran across one thread where the user was having problems with loading
some classes from a complex JAR environment, and a solution was to write
a custom class loader. After doing so, the user got the same error
"java.lang.NoClassDefFoundError: quicktime/QTException" that was
resolved by extending the custom class loader to include .zip files. I'm
not sure if the solution is relevant, or if he simply broke something in
his custom class loader that would have worked otherwise. I've not
written a custom class loader, so before I ventured down that path I was
hoping someone might shed some light as to if this is a dead end or
potential solution.
Thanks,
Deron
----------------------------------------------------
output to Java Console with level 5 tracing enabled
----------------------------------------------------
basic: Joining applet thread ...
basic: Joined applet thread ...
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@750159,
refcount=2
basic: Finding information ...
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@750159, refcount=1
basic: Done ...
basic: Added progress listener:
sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@3a9bba
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: completed perf rollup
network: Cache entry not found [url:
http://www.equushd.com/quicktime/QTException.class, version: null]
network: Connecting http://www.equushd.com/quicktime/QTException.class
with proxy=DIRECT
network: Connecting socket://www.equushd.com:80 with proxy=DIRECT
java.lang.NoClassDefFoundError: quicktime/QTException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: quicktime.QTException
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 10 more
basic: Exception: java.lang.NoClassDefFoundError: quicktime/QTException
Ignored exception: java.lang.NoClassDefFoundError: quicktime/QTException
As you may know, I've been struggling with rolling out a simple web
site that uses an applet that plays videos using quicktime for java.
The first problem was that all applets must now be signed if they use
qtjava. Easy enough once you know about that.
Second problem was FireFox on the Mac displays the video offset down
equal to the amount of decorations above the page canvas (tabs, url
etc) No solution yet, but I can live with it.
What could be the final problem (I hope!) is that some Windows
installations fail to run the applet at all. Even though Java is
running fine, and QuickTime has been installed and qtj is properly
listed in the systems classpath.
So 1) does anyone have their own QTJ applet accessible on the web so I
can see if this is a problem with my applet or with the Windows
environment in question?
2) does anyone know how I might resolve this error: I'm guessing that
some how the JRE is not finding the qtjava.zip file? (even though it
should) Do I need some kind of special classloader, or something in
the manifest, or??
Thanks again!!
For anyone who cares, the current test app is up at
http://www.equushd.com. Click on a horse (not all have a video yet) to
play the video.
Deron
--
Happy Trails,
Deron Kazmaier email@hidden
KD0AYO Western South Dakota
Dog Star Kennel http://www.dogstarkennel.com
--- Racing AKC Sepp-Star Seppala Siberian Husky Sled Dogs
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden