Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to Unzip a Mac OS X Archive in Java

825178Jan 12 2011 — edited Jan 19 2011
I have a JAR with install pieces that I'm unzipping during installation. Simple enough. Except that one of them is a little OS X utility app & the app doesn't work. It seems that OS X includes "extras" under the file "MACOSX__", which is visible in the archive (causes non-Mac uses no end of annoyance). Unzipping the archive in the Mac's Finder or via the Mac's command line uncompresses the stuff correctly, but in Java, there's no inherent knowledge of the Mac parts. So is there a technical page on that somewhere? How can I restore the "MACOSX__" stuff so that the compressed app actually runs again?

Thanks, Dan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 16 2011
Added on Jan 12 2011
9 comments
936 views