search cancel

Failure installing JasperReports 7.1.1.1 in RHEL 7.6 Silent mode

book

Article ID: 229171

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

The following error is logged in the installation log file:

Execute Custom Code
    class com.ca.bicoe.cajasperserver.install.guiinstaller.customcode.CheckIfRegistryExists.install() Unexpected Fatal Error:
java.awt.AWTError: Can't connect to X11 window server using '[::1]:11.0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
        at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)

Cause

DISPLAY variable is set.

Environment

JasperReports 7.1.1

Resolution

Remove the DISPLAY variable.

$ unset DISPLAY