[ https://issues.apache.org/jira/browse/NETBEANS-2842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447088#comment-17447088 ]
Michael Bien commented on NETBEANS-2842: ---------------------------------------- as far as i can tell, this the current situation: * pack200 is available in JDK 11, NB is currently also supporting JDK 8 - and both can be used to install old plugins * the problem is only a problem for old, unmaintained plugins, since maintained plugins can be rebuild without pack200 * there might be also the option to repack plugins (without rebuild) outside of NB using JDK11 and unpack200 via shell script or tool/service since pack200 is a bytecode aware compression algorithm, and it doesn't seem to be maintained beyond 14, i don't think its realistic to actually keep supporting it long term. The main motivation for it was webstart, which is gone too for quite a while, so there shouldn't be many users interested in keeping it alive left. So i would recommend doing the following: * check if old (popular) plugins could be rebuild without pack200, get in touch with the maintainers * try to make a convenient tool which can repack a plugin without pack200 (e.g jlink + JDK11) * disable all pack200 in NB if it isn't disabled yet, warn in UI if its used for plugin distribution * don't allow new pack200 plugins on the plugin portal I just rebuild as an exercise a NB platform project I haven't touched since 2009 and could not find any issues while running on NB 12.5+JDK17 in UX without pack200 enabled. (took me about 30-60 mins to fix dependencies and make it compile, pack200 was luckily just a checkbox) > Using of deprecated pack200 tool in nbm packaging > ------------------------------------------------- > > Key: NETBEANS-2842 > URL: https://issues.apache.org/jira/browse/NETBEANS-2842 > Project: NetBeans > Issue Type: Bug > Components: platform - Plugin Manager > Affects Versions: 11.3 > Reporter: Benjamin Graf > Priority: Critical > Attachments: nbpython.zip, unpack200 failure.png > > > Netbeans plugins are mostly compressed in size by the JDK internal pack200 > tool which is deprecated since JDK 11 ([https://openjdk.java.net/jeps/336]). > It should be thought about an alternative as it might get removed in next JDK > releases. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists