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

  • KM03169462
  • 30-May-2018
  • 30-May-2018

Archived Content: This information is no longer maintained and is provided "as is" for your convenience.

Summary

Getting the following error when try to run the logger 6.6 bin file Preparing to install Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer... Graphical installers are not supported by the VM. The console mode will be used instead... ============================================ Installer User Interface Mode Not Supported Unable to load and to prepare the installer in console or silent mode.

Error

Installer User Interface Mode Not Supported
Unable to load and to prepare the installer in console or silent mode.

Cause

There is an open bug with Red Hat on a font issue with the later versions of OpenJDK. 

https://bugzilla.redhat.com/show_bug.cgi?id=1479563

Fix

Work around is to switch back to Utopia fonts in /etc/fonts/local.conf.  Patches in 1.8.1.131 switched the font to STIX.  This doesn't work right with the headless java in OpenJDK,

https://stackoverflow.com/questions/45569367/upgrade-rhel-from-7-3-to-7-4-arrayindexoutofboundsexception-in-sun-font-composi

Credit to "titou10" at StackOverflow for the work around.

/etc/fonts/local.conf

 

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
  <alias>
    <family>serif</family>
    <prefer><family>Utopia</family></prefer>
  </alias>
  <alias>
    <family>sans-serif</family>
    <prefer><family>Utopia</family></prefer>
  </alias>
  <alias>
    <family>monospace</family>
    <prefer><family>Utopia</family></prefer>
  </alias>
  <alias>
    <family>dialog</family>
    <prefer><family>Utopia</family></prefer>
  </alias>
  <alias>
    <family>dialoginput</family>
    <prefer><family>Utopia</family></prefer>
  </alias>
</fontconfig>