I have written a little Java Applet which uses JAI, and I'm trying to export it so I can embed it in a webpage.
Using the File > Export > JAR file option, the exported JAR doesn't contain the neccessary JAI classes. I tried copying them into the JAr manually, but I still get java.lang.NoClassDefFoundError: com/sun/media/jai/codec/SeekableStream when I try to run the applet
My Applet class is AppFrame, in the package com.matt.ui, and it's exported into DrawingTool.jar. Here's my <applet> tag to embed it into an HTML page:
<APPLET CODE="com.matt.ui.AppFrame.class" WIDTH="100%" archive="DrawingTool.jar" HEIGHT="100%"> </APPLET>
How do I get the Applet to recognise the JAI classes?