Does anyone know how to debug Java code in non-graphical mode in NetBeans 8.2 by setting the variable $DISPLAY=""?
Using export DISPLAY=
in Linux terminal I only set it within one terminal but no globally in system.
UPDATE
I added the DISPLAY variable using the method given in
How to set environment variables in Netbeans 8.0.2
but but if I set export DISPLAY=""
or export DISPLAY=
then NetBeans doesn't start from Terminal and says that DISPLAY variable is not set. How to set empty DISPLAY variable properly?