My Oracle Support Banner

OUI NextGen OPatch Slient Installation Fails with: Exception in thread "main" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. (Doc ID 2830123.1)

Last updated on AUGUST 01, 2024

Applies to:

Oracle Fusion Middleware - Version 12.2.1.3.0 and later
Oracle Internet Directory - Version 12.2.1.3.0 and later
Oracle Universal Installer - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

OPatch silent option is not taking effect:

* java -jar <patch directory>/6880880/opatch_generic.jar -silent oracle_home=<oracle home path>
Failure Logs:

Picked up _JAVA_OPTIONS: -Djava.io.tmpdir=<temp dir path>
Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.

       at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
       at java.awt.Window.<init>(Window.java:536)
       at java.awt.Frame.<init>(Frame.java:420)
       at java.awt.Frame.<init>(Frame.java:385)
       at javax.swing.JFrame.<init>(JFrame.java:189)
       at com.sun.deploy.panel.ControlPanel.<init>(Unknown Source)
       at com.sun.deploy.panel.ControlPanel.main(Unknown Source)



Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.