Being managed here: https://issues.apache.org/jira/browse/NETBEANS-3985


On 21 May 2020, at 10:11, Emilian Bold 
<emilian.b...@gmail.com<mailto:emilian.b...@gmail.com>> wrote:

I assumed the removal of pack200 is a problem only for the NetBeans
installer, but apparently NetBeans cannot even install older modules:

WARNING [org.netbeans.updater]
java.io.IOException: CreateProcess error=2, The system cannot find the
file specified
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:483)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
Caused: java.io.IOException: Cannot run program "C:\Program
Files\Java\jdk-14.0.1\bin\unpack200.exe" (in directory
"C:\Users\X\AppData\Roaming\NetBeans\12.0-beta4\modules"):
CreateProcess error=2, The system cannot find the file specified
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)
INFO [org.netbeans.updater]: File
C:\Users\X\AppData\Roaming\NetBeans\12.0-beta4\modules\ro-emilianbold-modules-maven-search-remote.jar.pack.gz
deleted.
INFO [org.netbeans.updater]: Ignore non-readable files
java.io.FileNotFoundException:
C:\Users\X\AppData\Roaming\NetBeans\12.0-beta4\modules\ro-emilianbold-modules-maven-search-remote.jar
(The system cannot find the file specified)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:212)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:154)
at org.netbeans.updater.UpdateTracking.getFileCRC(UpdateTracking.java:507)
[catch] at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:469)
at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117)

So NetBeans forks a separate process to do the unpacking and with JDK
14 that unpack200 executable no longer exists. Maybe it should use a
library for unpack?

--emi

---------------------------------------------------------------------
To unsubscribe, e-mail: 
users-unsubscr...@netbeans.apache.org<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: 
users-h...@netbeans.apache.org<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&amp;data=02%7C01%7CChris.Luff%40cerner.com%7C133650a7e8de43cc53a608d7fd670dcd%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637256491365002300&amp;sdata=IG64HjqKG1%2BghCRVND7382dzHpG%2F6TVRPTQcSt%2Bw01k%3D&amp;reserved=0




CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

Reply via email to