Has anyone picked up on Emilian's idea and checked the settings for Full
Disk Access and for Files and Folders in System Preferences -> Security
and Privacy -> Privacy? There may be a terminal icon labelled "java"
that is waiting to be checked.
Malcolm
Tim Mullé wrote on 14/01/22 8:44 AM:
I too am running an M1 Pro Mac with Monterey
I’m using 17.0.1-tem java install from SDKMAN and I’ve tried
11.0.13-zulu and same issue.
I don’t see java in my Files and Folders privacy
On Jan 13, 2022, at 2:41 PM, Tim Mullé <tmu...@gmail.com
<mailto:tmu...@gmail.com>> wrote:
Sadly, that didn’t fix it for me. I do have Xcode and the command
line tools installed as well.
I just deleted my /Library/Application Support/NetBeans folder and
restarted Netbeans and I still get the same error posted below.
Oddly, the REMOTE terminal works and I connected to another machine
via the ssh and the terminal works
It’s just the local terminal that is crashing with the error
On Jan 13, 2022, at 12:16 PM, David Green <dgreen...@gmail.com
<mailto:dgreen...@gmail.com>> wrote:
Works for me on M1 Pro with JDK 17 (and NB 12.4/12.5/12.6)
Looking at System Preferences | Privacy > Files and Folders
I note that java has access to Download Folders, Document Folders,
and Desktop Folders but this is it (Java and NetBeans not listed
elsewhere) and I don’t think these settings would only impact the
terminal.
I do have XCode and its command line support code loaded.
I installed JDK 17 with JavaFX from Azul that was built for the M1.
Installed NB 12.6. I am running the zsh shell.
Not a direct answer but a bit of info that might be helpful.
Dave
On Jan 13, 2022 at 10:44:50 AM, Tim Mullé <tmu...@gmail.com
<mailto:tmu...@gmail.com>> wrote:
Any ideas on how to fix or troubleshoot this?
This happens on both 12.5 and 12.6 with JDK11 and JDK17 on my M1 Mac
On Dec 14, 2021, at 2:50 PM, Tim Mullé <tmu...@gmail.com
<mailto:tmu...@gmail.com>> wrote:
Still having this issue with 12.5 and 12.6 on M1 Mac.
The error that briefly flashes in the terminal window is:
Cannot invoke “java.util.List.toArray(Object[])” because
org.netbeans.modules.nativeexecution.NativeProcessInfo.getCommand
is null
I had to keep clicking on the “New Terminal” button and try to
read the message since the screen goes black then clears and stays
empty grey.
Nothing shows up on the command line terminal or the IDE Log
showing this error.
> On Nov 12, 2021, at 3:34 PM, Tim Mullé <tmu...@gmail.com
<mailto:tmu...@gmail.com>> wrote:
>
> Hi,
>
> Just found something interesting when running Netbeans on my new
M1 Mac (Silicon) Monterey 12.0.1 with JDK 11 or JDK17 where
> the “Open in Terminal” option under the Tools menu opens a blank
terminal.
>
> This didn’t happen on Big Sur x86_64 with either JDK..
>
> Plus, I don’t seem to get any errors in the IDE LOG.
>
> <Screen Shot 2021-11-12 at 3.28.44 PM.png>
---------------------------------------------------------------------
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://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists