linux上在画图和chart报错:Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
解决:
在.bash_profile 及 /etc/profile 加了个export JAVA_OPTS=-Djava.awt.headless=true
source .bash_profile
linux上在画图和chart报错:Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
解决:
在.bash_profile 及 /etc/profile 加了个export JAVA_OPTS=-Djava.awt.headless=true
source .bash_profile