Link to home
Start Free TrialLog in
Avatar of gerry99
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.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.
Gerry Rempel
grempel@acm.org
Avatar of pedxing
pedxing

Which version of PKZIP?  Does it handle long filenames?

Avatar of gerry99

ASKER

I'm using Pkzip 2.50, 32-bit version for windows.  It handles long file names.

ASKER CERTIFIED SOLUTION
Avatar of ddyer
ddyer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gerry99

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