简体   繁体   English

IBM i Access不在Fedora上启动

[英]IBM i Access doesn't start on Fedora

Here is my setup: 这是我的设置:
System76 Gallago Pro System76 Gallago Pro
Fedora 30 软呢帽30
OpenJDK 1.8.0_201 (I did try Oracle as well) OpenJDK 1.8.0_201(我也尝试过Oracle)

I installed per IBM's instructions, using the installer script from the command line. 我按照IBM的说明使用命令行中的安装程序脚本进行了安装。 I went through the installer menu and got to the success screen. 我浏览了安装程序菜单,然后转到成功屏幕。 I have done this a half dozen times on other machines and with OS upgrades on this same machine. 我已经在其他计算机上完成了六次操作,并在同一台计算机上进行了OS升级。

When I use the super key to find the program it is there; 当我使用超级键找到程序时,它就在那里; I click on the icon and my box returns to the desktop - but i Access doesn't start. 我单击该图标,我的框返回到桌面-但我的Access无法启动。 If I start via the command line using the start script, I get MSGGEN045 - A graphical user interface is not available. 如果我使用启动脚本通过命令行启动, MSGGEN045 - A graphical user interface is not available.得到MSGGEN045 - A graphical user interface is not available.

If I run the java program directly java -Xmx1024m -jar /opt/ibm/iAccessClientSolutions/acsbundle.jar I get the same message as when using the start script. 如果直接运行Java程序java -Xmx1024m -jar /opt/ibm/iAccessClientSolutions/acsbundle.jar收到与使用启动脚本时相同的消息。

How can I get past this error? 我如何克服这个错误? Or,what else can I do to track down what is happening? 或者,我还能做些什么来追踪正在发生的事情?

I've had two issues when running iACS on Fedora. 在Fedora上运行iACS时遇到两个问题。 The first was the OS had a headless JVM installed by default. 首先是操作系统默认安装了无头JVM。 The second was something to do with sound. 第二是与声音有关。

Based on "MSGGEN045 - A graphical user interface is not available", I'd suspect a headless JVM. 基于“ MSGGEN045-图形用户界面不可用”,我怀疑是无头JVM。

HTH HTH

Edit: I checked for the headless JVM at the direction of IBM support. 编辑:我检查了IBM支持指导下的无头JVM。 I don't remember the exact wording, but the name of the installed package was a dead giveaway. 我不记得确切的用词,但已安装软件包的名称简直是无用的。 A simple "rpm -qa" was all it took. 一个简单的“ rpm -qa”就够了。

I don't have anything Fedora specific but it seems that you either didn't install a Java Runtime Environment or just a headless version of it (jre-headless). 我没有Fedora特有的任何东西,但似乎您没有安装Java Runtime Environment或仅安装了无头版本(jre-headless)。 Install a full JRE and everything should be fine. 安装完整的JRE,一切都会正常。

You could check this with yum: 您可以用yum进行检查:

yum list installed | 百胜列表安装| grep jre grep jre

Fedora is running wayland and not X11. Fedora正在运行Wayland,而不是X11。 Java doesn't play nice with wayland as of yet. 到目前为止,Java与Wayland的配合还不够好。 As far as I know there are no plans yet to fix that. 据我所知,目前尚无解决方案。 This is a good place to start https://www.ibm.com/developerworks/community/forums/html/topic?id=1b366edf-0e70-40d5-8d92-30d401edd97a 这是开始https://www.ibm.com/developerworks/community/forums/html/topic?id=1b366edf-0e70-40d5-8d92-30d401edd97a的好地方

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM