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

Christian Oyarzun commented on NETBEANS-5037:
---------------------------------------------

[~bryanhiggs] and [~geertjan],

I ran a few tests on my Big Sur VM. The workarounds options are as follow.
 # Change "Perfer Tabs" to never for all applications in the setting panel. But 
this affect every macOS application.
 # For Java 8 use the following to apply to all Java applications
{noformat}
defaults write net.java.openjdk.cmd "AppleWindowTabbingMode" never
{noformat}

 # For Java 11+ you need the specific Java Version and use the following to 
apply to all Java applications
{noformat}
defaults write net.java.openjdk.15.0.2.java "AppleWindowTabbingMode" never
defaults write net.java.openjdk.11.0.9.1.java "AppleWindowTabbingMode" never
defaults write net.java.openjdk.11.0.9.java "AppleWindowTabbingMode" never
{noformat}

You can find the Java Version with java_home -V.
{noformat}
% /usr/libexec/java_home -V
Matching Java Virtual Machines (4):
    15.0.2 (x86_64) "AdoptOpenJDK" - "AdoptOpenJDK 15" 
/Library/Java/JavaVirtualMachines/adoptopenjdk-15.jdk/Contents/Home
    11.0.9.1 (x86_64) "Amazon.com Inc." - "Amazon Corretto 11" 
/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home
    11.0.9 (x86_64) "AdoptOpenJDK" - "AdoptOpenJDK 11" 
/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
    1.8.0_275 (x86_64) "AdoptOpenJDK" - "AdoptOpenJDK 8" 
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
{noformat}

> 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: [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