Configuring the Java environment variables

vi ~/.bash_profile

  在最后一行加入:

export  JAVA_OPTS=-Djava.awt.headless=true

  使用最新环境变量

source ~/.bash_profile

  

相关文章:

  • 2021-10-29
  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
  • 2021-04-04
  • 2021-10-26
  • 2021-06-14
  • 2022-12-23
猜你喜欢
  • 2021-11-06
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
  • 2021-05-16
  • 2022-02-21
相关资源
相似解决方案