Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for an External Pack200 Component #936

Open
martinhickson opened this issue Feb 28, 2024 · 3 comments
Open

Support for an External Pack200 Component #936

martinhickson opened this issue Feb 28, 2024 · 3 comments

Comments

@martinhickson
Copy link

martinhickson commented Feb 28, 2024

Since the JDK's native pack200 implementation has been removed from newer JDKs, it would be great if this implementation could be supported. See also: https://github.com/martinhickson/IcedTea-Web-1/wiki for code examples.

@martinhickson martinhickson changed the title Support for Apache Commons Compress Version of Pack200 Support for an External Pack200 Component Mar 3, 2024
@puck
Copy link

puck commented Jan 7, 2025

Hey, just coming to support this request as the service processors on older servers may use Pack200 for their JAR files and they won't work on newer JDKs. Here's a write up of someone's findings and that they've had to fall back to an ancient JDK version: https://forums.debian.net/viewtopic.php?t=158747

@karianna
Copy link
Member

It does look like the original poster managed to get past this. @hendrikebbers may be able to help in the future though.

@puck
Copy link

puck commented Jan 11, 2025

Yup, by updating a fork of the Pack200 code from JDK11 to compile with JDK17 and updating IcedTea to use it. This'd be great have back in the official release.

I started to add in support for the Pack200 class that is in Apache Commons Compress (which appears to have been Martin's initial approach as well) and it is a game of whack-a-mole to fix/add things which I haven't finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants