Hi Rafal,
pack200 is an outdated bytecode compression method. If you create a new
NetBeans Application, the project template you would get should not make
use of it by default.
I just tried it again using NetBeans 22 on JDK 18 and "clean install"
worked.
btw JDK 18 itself is no longer supported as you can see at
https://javaalmanac.io/jdk/ (JDK 21 would be the current LTS release),
however this should make no difference in this particular case.
regards,
michael
On 23.08.24 14:10, Rafał Ziółkowski wrote:
Hallo,
With Netbeans 22 I've created a maven project of Netbeans
Application using wizard 'java with maven->netbeans application'. Any
try to clean and install with java 18results in following statement:
"Failed to execute goal
org.apache.netbeans.utilities:nbm-maven-plugin:14.2:cluster-app
(default-cluster-app) on project mavenproject7-app: Execution
default-cluster-app of goal
org.apache.netbeans.utilities:nbm-maven-plugin:14.2:cluster-app
failed:*Using jdk 14 and later prevents reading of NBM created with
pack200* -> [Help 1]"
I've read, that since java 14 pack200 algorithm is removed. So how can
I compile such application with java 14+? Or is it impossible with
maven? If so the entry "netbeans application" in new project wizard
should be grayed. Since I've could run Netbeans, I suppose that such
compilation is possible, may be without maven. I'm compiling the app
as it was first created with wizard, without any changes. For now I
don't know how to advance with the project, I would appreciate any idea.
With Regards
Rafal Z
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists