我想安装oracle weblogic服务器。我已经下载了它,它是fmw_12.1.3.0.0_wls.jar
。为了安装它,我被指示运行java -jar fmw_12.1.3.0.0_wls.jar
。但是,当我运行它时,我得到了
(...)X-Server access is denied on host
[Fatal Error] DISPLAY variable set incorrectly: :0
[Resolution] Verify that your DISPLAY environment variable is set correctly,
and that there is an X11 server on the system. If you are
running the Oracle Installer as a different user or on a different host,
you may need to use the xhost command to ensure that host/user
has permission to write to your display.
Logs are located here: /tmp/OraInstall2019-03-16_10-36-23PM.
我的系统是:CentOS Linux版本7.6.1810(核心)我的java是:Java(TM)SE运行时环境(版本1.7.0_80-b15)
我正在尝试在本地执行此安装。我很困惑,因为我遇到的每个解决方案都假设我通过ssh或vnc服务器进行登录,而我绝对不是。我尝试了什么:
我在想是否可能是与图形驱动程序有关的问题。可能是因为X11安装的默认值有点错误?或者也许centOS与这个软件兼容?我应该尝试oracle linux吗?
将-Djava.awt.headless=true
添加到命令行,例如
java -Djava.awt.headless=true -jar fmw_12.1.3.0.0_wls.jar