Closed cbm64chris closed 4 years ago
@cbm64chris Maybe, we can't do anything from the plugin side. (There is no information related to this plugin in your log.) If you can reproduce that with other plugins as well, please report it to the JIRA of NetBeans : https://issues.apache.org/jira/projects/NETBEANS/issues Thanks.
@cbm64chris understood - I'll post the dev mailing list and get a discussion started.
@cbm64chris Yes, it would be better :)
Closing pending discussions on the dev mailing lists.
Is there any workaround for this issue?
@shawntay97 yes, run NetBeans on jdk 11, install then change back to 14.
Describe the bug The plugin cannot be installed when JDK 14 is used to boot NetBeans 11.3 because unpack200 was deprecated in JDK14
To Reproduce Steps to reproduce the behavior:
java.io.IOException: error=2, No such file or directory at java.base/java.lang.ProcessImpl.forkAndExec(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:319) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:250) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) Caused: java.io.IOException: Cannot run program "/Library/Java/JavaVirtualMachines/adoptopenjdk-14.jdk/Contents/Home/bin/unpack200" (in directory "/Users/xxxxx/Library/Application Support/NetBeans/11.3/modules"): error=2, No such file or directory at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) [catch] at org.netbeans.updater.ModuleUpdater.unpack200(ModuleUpdater.java:567) at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:465) at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117)
Expected behavior The nbm should install regardless of JDK. The workaround is to boot with JDK11 to JDK13 by changing the netbeans.conf - netbeans_jdkhome="/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home".
Desktop (please complete the following information):