IBM Support

Cannot install oneWEX with "Unable to load and to prepare the installer in console or silent mode." message on RHEL 7



When trying to install oneWEX 12.0.2 single container deployment with console mode on RHEL 7 and certain version of Java, the following error appears on the console and cannot proceed the installation, regardless which installation language to select.


Unable to load and to prepare the installer in console or silent mode.


Files such as lax-<somenumeric>-err.tmp file is created under /tmp directory on the system, and the file indicate the NPE as follows:

XMLScriptReader: unable to parse the provided script file.  File may have been invalid...
        at Source)
        at Flexeraan9.ak(Unknown Source)
        at Flexeraan9$1.aa(Unknown Source)
        at Source)
        at Source)
        at com.zerog.ia.installer.LifeCycleManager.b1(Unknown Source)
        at com.zerog.ia.installer.LifeCycleManager.a8(Unknown Source)
        at Source)
        at com.zerog.ia.installer.LifeCycleManager.consoleInstallMain(Unknown Source)
        at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
        at com.zerog.ia.installer.Main.main(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at com.zerog.lax.LAX.launch(Unknown Source)
        at com.zerog.lax.LAX.main(Unknown Source)
Unable to load the script.


This could be a defect of Java, fixed in 1.8.191. See JDK-8188030 : AWT java apps fail to start when some minimal fonts are present for detailed information.


  • Using Java 1.8.0_112 or higher, especially without GUI on RHEL 7.x.

Diagnosing The Problem

  • You see  "Unable to load and to prepare the installer in console or silent mode."  message when installing oneWEX on console mode.
  • You use the specific version of Java (OpenJDK or IBM JDK) before it's fixed  (1.8.191 would fix the issue).

Resolving The Problem

Update /etc/fonts/local.conf file with following contents (or create it if the file does not exists), and restart the installer.

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8NLW","label":"IBM Watson Explorer"},"Component":"oneWEX","Platform":[{"code":"PF016","label":"Linux"}],"Version":"12.0.2","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
22 November 2018