Below is what comes up when I open NetBeans. Then it closes...

I tried using the sudo dpkg --get-selections command:


marked as duplicate by karel, Fabby, Zanna, Eric Carvalho, George Udosen Dec 13 '18 at 9:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.