linux 环境下执行kettle报

nested exception is java.awt.AWTError: Can’t connect to X11 window server using ‘localhost:10.0’ as the value of the DISPLAY variable.

 

1.原因:因为用到了图形处理,java程序会去寻找linux上的图形界面是否启动
2.解决:不让java寻找linux图形界面即可,在java 启动时加选项java -Djava.awt.headless=true 
3.实现:在执行的脚本前加入 export JAVA_OPTS=-Djava.awt.headless=true,即可

linux  之 nested exception is java.awt.AWTError: Can’t connect to X11 window server using ‘localhost:10.0’ as the value of the DISPLAY variable.

 

 

 

相关文章:

  • 2022-02-03
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2021-07-09
  • 2022-12-23
  • 2021-08-17
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2021-08-28
  • 2022-12-23
  • 2021-06-04
  • 2021-10-18
相关资源
相似解决方案