tx2 的ubuntu上报错:
Application cannot start in headless mode
解决方法:
添加openjdk的环境变量:
export PATH=/usr/lib/jvm/java-1.8.0-openjdk-arm64/bin:$PATH
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-arm64
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib