Hi all, I’ve just installed NetBeans 12.5 on my Mac Book Air M1 with Mac OS Monterey but, when I launch it, I just see the splash screen and then NetBeans stop to run.
If I run it from the Terminal, this is what I see: gion@GionMacBookAir ~ % /Applications/NetBeans/Apache\ NetBeans\ 12.5.app/Contents/MacOS/netbeans WARNING: package sun.awt.X11 not in java.desktop WARNING: package com.sun.java.swing.plaf.gtk not in java.desktop java.lang.RuntimeException: Permission denied at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:194) at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLauncher.java:67) at org.eclipse.osgi.framework.internal.core.EquinoxLauncher$1.run(EquinoxLauncher.java:41) at java.base/java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.init(EquinoxLauncher.java:39) at org.eclipse.osgi.launch.Equinox.init(Equinox.java:178) at org.netbeans.modules.netbinox.Netbinox.init(Netbinox.java:63) at org.netbeans.core.netigso.Netigso.prepare(Netigso.java:146) at org.netbeans.NetigsoHandle.turnOn(NetigsoHandle.java:115) at org.netbeans.ModuleManager.enable(ModuleManager.java:1441) at org.netbeans.ModuleManager.enable(ModuleManager.java:1254) at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:315) at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:251) at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:298) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:156) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:125) at org.netbeans.core.startup.Main.start(Main.java:282) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.io.IOException: Permission denied at java.base/java.io.UnixFileSystem.createFileExclusively(Native Method) at java.base/java.io.File.createTempFile(File.java:2129) at org.eclipse.osgi.storagemanager.StorageManager.initializeInstanceFile(StorageManager.java:188) at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:708) at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(BaseStorage.java:226) at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize(BaseStorage.java:160) at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:123) at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:192) ... 18 more If I run Netbeans as root (sudo…), it works. Please can you help me to figure out what is blocking the normal execution? Which is the file NetBeans is trying to open/write for which it does not have proper access rights? May I enable a more verbose log at startup so I have more information to debug? Thanks in advance, Giovanni