gerry99
asked on
Zipping classes in packages
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.myAppl et.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.
Gerry Rempel
grempel@acm.org
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.myAppl
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
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.
Gerry Rempel
grempel@acm.org
Which version of PKZIP? Does it handle long filenames?
ASKER
I'm using Pkzip 2.50, 32-bit version for windows. It handles long file names.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the advice.
Winzip32 is easy to use for this task.
I think my fundamental problem may have been that I was spelling
"archive" as "arhive".
I couldn't find any reference to this "greenbay", however I'll be fine using winzip.
Gerry
Winzip32 is easy to use for this task.
I think my fundamental problem may have been that I was spelling
"archive" as "arhive".
I couldn't find any reference to this "greenbay", however I'll be fine using winzip.
Gerry