Hi!

unpack200 ist downloaded and can be run in the terminal on that machine.

Nevertheless the log shows that unpack200 has the wrong architecture – Exec 
failed, error: 86 (Bad CPU type in executable) 

INFO [org.netbeans.updater]: 780: Unpacking 
org-netbeans-modules-cnd-api-project.nbm
INFO [org.netbeans.updater]: File installed 
/Users/frankjordan/Library/Application 
Support/NetBeans/28/config/Modules/org-netbeans-modules-cnd-api-project.xml@0
INFO [org.netbeans.updater]: Copied file /Users/frankjordan/Library/Application 
Support/NetBeans/28/update/download/org-netbeans-modules-cnd-api-project.nbm:netbeans/config/Modules/org-netbeans-modules-cnd-api-project.xml
 to /Users/frankjordan/Library/Application 
Support/NetBeans/28/config/Modules/org-netbeans-modules-cnd-api-project.xml
INFO [org.netbeans.updater]: File installed 
/Users/frankjordan/Library/Application 
Support/NetBeans/28/modules/locale/org-netbeans-modules-cnd-api-project_ja.jar.pack.gz@0
INFO [org.netbeans.updater]: Copied file /Users/frankjordan/Library/Application 
Support/NetBeans/28/update/download/org-netbeans-modules-cnd-api-project.nbm:netbeans/modules/locale/org-netbeans-modules-cnd-api-project_ja.jar.pack.gz
 to /Users/frankjordan/Library/Application 
Support/NetBeans/28/modules/locale/org-netbeans-modules-cnd-api-project_ja.jar.pack.gz
WARNING [org.netbeans.updater]
java.io.IOException: Exec failed, error: 86 (Bad CPU type in executable) 
        at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
        at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:300)
        at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:231)
        at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1078)
Caused: java.io.IOException: Cannot run program 
"/Users/frankjordan/Downloads/unpack200" (in directory 
"/Users/frankjordan/Library/Application Support/NetBeans/28/modules/locale"): 
Exec failed, error: 86 (Bad CPU type in executable) 
        at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1112)
        at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1046)
[catch] at org.netbeans.updater.ModuleUpdater.unpack200(ModuleUpdater.java:568)
        at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:466)
        at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:118)

In the end I copied the relevant directory of one working installation to that 
machine. Brute force. After some cleanup (recently opened files, projects etc.) 
it worked smoothly.

Cheers, Uwe 

 

> Am 24.11.2025 um 09:54 schrieb Uwe Werner <[email protected]>:
> 
> Hi!
> 
> I do not have access to the log. 
> 
> Yes, the process takes some time. Some modules fail to install properly and 
> are discarded subsequently (not crucial for C)
> On almost all machines this happens in time. On very few machines not. Or not 
> on the first trial. 
> 
> Why on that machine? Some are just lame, cheap Windows laptops. So I had two 
> students. The Windows guy eventually got it installed. But the brand new Mac 
> sticks out. 
> 
> I do not have access to those machines. 
> 
> 
> Cheers, Uwe 
> 
>> Am 20.11.2025 um 23:41 schrieb Michael Bien <[email protected]>:
>> 
>> Hi,
>> 
>> On 11/20/25 12:12, Uwe Werner wrote:
>>> Dear all!
>>> 
>>> I know it’s legacy but I love the simplicity of Netbeans to teach C for my 
>>> students. Here is my problem:
>>> 
>>> I have two quite new MacBooks (mine, student’s), reasonably new OSes on 
>>> both, same WiFi. unpack200 is in place. I install NB from scratch, add the 
>>> old NB 8.2 portal as trusted, select C/C++. 
>>> 
>>> On one Mac the installer downloads & installs everything smoothly (I had to 
>>> provide the unpack200 location). Yeah, disable some modules, not properly 
>>> installed, not needed anyway. Great. C works.
>>> 
>>> On the other Mac everything works identically unpack 200 works … progress 
>>> bar reaches 99% (or 98) and then BOOM:
>>> 
>>> "The Plugin Installer found problem timeout of loading C/C++ Remote 
>>> Development API[org.netbeans.modules.cnd.api.remote/1.29.5.1] while install 
>>> the following plugins: C/C++“
>> the log line doesn't give me a lot to work with, but its unique enough that 
>> I could track it to the bundle keys of that msg which are combination of 
>> InstallStep_InstallUnsuccessful_Text and InstallSupportImpl_TurnOnTimeout. 
>> 
>> I don't think this is about URL connections, since the timeout is set to 30s 
>> by default, so it can only be
>> https://github.com/apache/netbeans/blob/b5d2a9b2be0ac90b098cc8ba553416f71f8cbf4c/platform/autoupdate.services/src/org/netbeans/modules/autoupdate/services/InstallSupportImpl.java#L417-L433
>> 
>> This section expects module loading to happen within a certain amount of 
>> time. If it doesn't, it gives up and assumes the module didn't load - which 
>> sounds like a pretty good assumption since the timeout is 10s per module.
>> 
>> I am sure the log has far more information when that happens.
>> 
>> regards,
>> 
>> michael
>> 
>>> 
>>> Incomplete. Repeatable. 
>>> 
>>> Fail. Why? Different behaviour. Why? I have no clue. Download was done. Why 
>>> „loading“ again? 
>>> 
>>> Sometimes this was observed on Windows machines too. At one point in some 
>>> cases „try again and again“ seems to have resolved that issue. Why did it 
>>> pop up in the first place? 
>>> 
>>> Any ideas? 
>>> 
>>> Cheers, Uwe 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>> 
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> 
> 
> Dr. Uwe Werner
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> „Denn nichts ist schwerer und nichts erfordert mehr Charakter, als sich in 
> offenem Gegensatz zu seiner Zeit zu befinden und laut zu sagen: Nein.“ - 
> Kurt Tucholsky, „Die Verteidigung des Vaterlandes“, in: „Die Weltbühne“, 6. 
> Oktober 1921, S. 338f
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> 
> 
> Hochschule Fulda - University of Applied Sciences
> Fachbereich Elektrotechnik und Informationstechnik -
> Department of Electrical Engineering and Information Technology
> 
> Gebäude 33, Raum 319 
> Leipziger Straße 123
> 36037 Fulda
> 
> http://www.hs-fulda.de/et
> 
> +49 661 9640 5850 
> +49 176 2490 1355 (mobil)
> +49 661 2069 7575 (privat)
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
> . . .
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 

Dr. Uwe Werner
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
„Denn nichts ist schwerer und nichts erfordert mehr Charakter, als sich in 
offenem Gegensatz zu seiner Zeit zu befinden und laut zu sagen: Nein.“ - 
Kurt Tucholsky, „Die Verteidigung des Vaterlandes“, in: „Die Weltbühne“, 6. 
Oktober 1921, S. 338f
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .


Hochschule Fulda - University of Applied Sciences
Fachbereich Elektrotechnik und Informationstechnik -
Department of Electrical Engineering and Information Technology

Gebäude 33, Raum 319 
Leipziger Straße 123
36037 Fulda

http://www.hs-fulda.de/et

+49 661 9640 5850 
+49 176 2490 1355 (mobil)
+49 661 2069 7575 (privat)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. .



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to