You are not logged in.

#1 2024-03-26 06:25:54

LeonN
Member
Registered: 2022-12-19
Posts: 92

[SOLVED] Netbeans shows a blank screen

When I try to open both the 21 and 16 version of Netbeans (on e from the AUR and the other from the official Arch repo), I get this white screen after the "loading modules" modal closes.
This is the output of the terminal

/opt/netbeans-21/bin/netbeans
WARNING: package com.apple.eio not in java.desktop
WARNING: package com.sun.java.swing.plaf.windows not in java.desktop
WARNING: package com.apple.laf not in java.desktop
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.netbeans.TopSecurityManager (file:/opt/netbeans-21/platform/lib/boot.jar)
WARNING: Please consider reporting this to the maintainers of org.netbeans.TopSecurityManager
WARNING: System::setSecurityManager will be removed in a future release

As this post suggest, I set the jdkhome variable on "~/.netbeans/21/etc/netbeans.conf", being this the content of that file:

netbeans_jdkhome="/usr/lib/jvm/java-21-openjdk"

Even though I did that, the same behaviour keeps occurring.

Last edited by LeonN (2024-03-26 11:42:56)

Offline

#2 2024-03-26 08:39:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Offline

#3 2024-03-26 11:42:38

LeonN
Member
Registered: 2022-12-19
Posts: 92

Re: [SOLVED] Netbeans shows a blank screen

Thanks for referring that post.  I read that part on the Java article in the Wiki, but I didin't try all the options. What worked for me was impersonating another window manager.
So as a quick answer, adding this to my bspwmrc file did the trick. You have to call it on any script file that is executed whenever you start your system

What I did:

sudo pacman -S wmname

# Added this to vim .config/bspwm/bspwmrc
wmname LG3D &

Offline

Board footer

Powered by FluxBB