netbeans shuts down unexpectedly

I have a problem and it is that although I installed netbeans from snap, flatpack, aur and pamac, this works without problem when I download and open it, but when I turn off the computer and start in manjaro (I use dual boot) netbeans does not open and in the terminal I get the following message.

egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
WARNING: package com.apple.eio 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:/usr/lib/netbeans/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

If I understand your problem, you have installed Snap, Flatpak and the AUR version of Netbeans. If that is true, do this:

1. Completely uninstall ALL three versions
2. Reboot
3. Install Netbeans from the OFFICIAL repo:

sudo pacman -S netbeans
  • Choose: 1) jdk-openjdk when asked
  • All required packages will be installed.

4. Reboot.
5. Look here and/or here for usage and configuration information.

Good luck.

2 Likes