我想安装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吗?
答案 0 :(得分:0)
将-Djava.awt.headless=true
添加到您的命令行中,例如
java -Djava.awt.headless=true -jar fmw_12.1.3.0.0_wls.jar