[ 
https://issues.apache.org/jira/browse/NETBEANS-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234508#comment-17234508
 ] 

Donatello Santoro commented on NETBEANS-5037:
---------------------------------------------

Using sudo there are several disadvantages, for example:
 * using external tools (like ant, gradle, ...) requires also to use sudo, but 
then you have typically a different configuration, and this complicates things
 * running webapps using Tomcat also sometimes incurs permission problems

In essence, it would be highly desirable to be able to avoid sudo.

Let me also say that permissions in NetBeans installation folder are fine: in 
fact, not using sudo the app starts just fine and you can pretty much do 
anything, but than the preference/plugins/find dialogs hang the application and 
you are forced to close.

> NetBeans dialog windows in Big Sur
> ----------------------------------
>
>                 Key: NETBEANS-5037
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5037
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Search, editor - Settings, platform - Plugin 
> Manager
>    Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2
>         Environment: macOS 11.0.2
>            Reporter: Donatello Santoro
>            Priority: Major
>         Attachments: netbeans.conf, settings.png
>
>
> In macOS Big Sur some NetBeans panels (settings and find in project) are 
> broken:
>  * they are shown in full screen, as tab, please see screenshot 
>  * when they are shown, NB completely hangs, with high CPU usage.
> I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK 
> (1.8, 11, 13, 15), with the same behavior.
> The only way I have to solve the issue is to run NB as sudo
> {code:java}
> sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans
> {code}
> Of course this is a permission related issue, but it appears only on 
> NetBeans. Other Java apps seems not affected. On command line there are no 
> evidence of the crash.
> Finally, in our office we are 4 with the same MacBook, and same macOS (just 
> upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 
> can run NB without the sudo command.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to