Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-30690

Unable to execute GUI installer on RHEL10

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Blocker Blocker
    • None
    • 8.1.0.GA-CR10
    • Installer
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      When attempting to install JBoss EAP via the gui installer method on RHEL10, the following exception occurs:

      Exception in thread "main" java.awt.HeadlessException: 
      No X11 DISPLAY variable was set,
      or no headful library support was found,
      but this program performed an operation which requires it,
          at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:164)
          at java.desktop/java.awt.Window.<init>(Window.java:553)
          at java.desktop/java.awt.Frame.<init>(Frame.java:428)
          at java.desktop/java.awt.Frame.<init>(Frame.java:393)
          at java.desktop/javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1925)
          at java.desktop/javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:2001)
          at java.desktop/javax.swing.JWindow.<init>(JWindow.java:183)
          at java.desktop/javax.swing.JWindow.<init>(JWindow.java:135)
          at org.jboss.installer.Installer.installerSplash(Installer.java:229)
          at org.jboss.installer.Installer.runGuiInstaller(Installer.java:109)
          at org.jboss.installer.Installer.main(Installer.java:89)

      X was removed in RHEL10  

      Tested with OpenJDK21

      Update: After reinstalling and going through the steps again, the installer now launches fine. Im not yet sure what caused the previous issue
      The issue was caused by wrong jdk installation. I installed headless java first time around, which lacks some of the needed dependencies. X being removed is not actually an issue, since RHEL10 still has Xwayland.

       

              mjusko@redhat.com Marek Jusko
              rh-ee-atucek Adam Tucek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: