tmulle edited a comment on issue #3467: URL: https://github.com/apache/netbeans/issues/3467#issuecomment-1015057137
@oyarzun @vieiro ok, that might have worked! Just a small change: 1. I had to copy the files built to **MacOSX_arm-64** and not **MacOSX-arm**. The _org.netbeans.modules.nativeexecution.api.util.HelperUtility.java_ class builds the file it's looking for as '_MacOSX_cpufamily_bitness_' Here is where the **path** is used in that class..path is set to "_bin/nativeexecution/MacOSX-arm_64/pty_" Using the original **MacOS-arm** as you mentioned causes a "_MissingResourceException_" ``` protected File getLocalFile(final ExecutionEnvironment env) throws ParseException, MissingResourceException { InstalledFileLocator fl = InstalledFileLocatorProvider.getDefault(); MacroExpander expander = MacroExpanderFactory.getExpander(env); String path = expander.expandPredefinedMacros(pattern); File file = fl.locate(path, codeNameBase, false); if (file == null || !file.exists()) { throw new MissingResourceException(path, null, null); //NOI18N } return file; } ``` Once I had the correct directory, I then could open the terminal and according to Activity Monitor the PTY process was Apple instead of Intel which means it worked. I'm not sure why 2 PTY processes open when there is only 1 terminal visible in NetBeans, however. <img width="1456" alt="Screen Shot 2022-01-17 at 11 08 04 PM" src="https://user-images.githubusercontent.com/5183186/149869833-f0dc3ee2-cf3c-422d-9944-1a28db67ca5a.png"> One thing also, is if I close the terminal in NetBeans.. those processes don't seem to close. If I open more terminal windows, more PTY processes show up and never quit, even if I shutdown NetBeans..might be a resource leak somewhere?? Here is the file info from the Inspector in Activity Monitor: <img width="1544" alt="Screen Shot 2022-01-17 at 11 20 38 PM" src="https://user-images.githubusercontent.com/5183186/149870483-b58b2a18-5d97-4c20-be4e-e8fe3bc100a4.png"> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists