Zipping classes in packages
Posted on 1997-05-07
My applet is a bit large, about 120k.
So I'm trying to create ZIP, CAB and JAR files for it.
My package structure looks like: myOrg.appname.modules
Where I have two "modules" packages, with the applet class
sitting at the myOrg.appname level.
My code parameter is: CODE="myOrg.appname.myApplet.class"
I've created a working CAB file, that was easy.
I'm having trouble with the the ZIP format. Using
PKZIP for windows I've tryed storing the class files in the Zip file, without and without relative path names to the
base of my package tree.
When I load the zip file with Netscape Nav, it says "Applet can't start: class myOrg.appname.applet.class not found".
Does anyone know why? Has anyone had some experience using the ZIP format with packaged classes?
No, I'm not compressing the class files when I Zip them.
Thanks in advance.