Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

Why can't I launch the EUM installer on Linux?


For some Linux users who are trying to install EUM, the installer will not launch and the following error message is shown in the logs:


Unpacking JRE ... 
Preparing JRE ... 
Starting Installer ... 
java.lang.ArrayIndexOutOfBoundsException: 0 
at sun.font.CompositeStrike.getStrikeForSlot( 
at sun.font.CompositeStrike.getFontMetrics( 
at sun.font.FontDesignMetrics.initMatrixAndMetrics( 
at sun.font.FontDesignMetrics.<init>( 
at sun.font.FontDesignMetrics.getMetrics( 
at sun.swing.SwingUtilities2.getFontMetrics( 
at javax.swing.JComponent.getFontMetrics( 
at javax.swing.text.WrappedPlainView.updateMetrics( 
at javax.swing.text.WrappedPlainView.updateChildren( 
at javax.swing.text.WrappedPlainView.insertUpdate( 
at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate( 
at javax.swing.text.AbstractDocument.fireInsertUpdate( 
at javax.swing.text.AbstractDocument.handleInsertString( 
at javax.swing.text.AbstractDocument.insertString( 
at javax.swing.text.PlainDocument.insertString( 
at javax.swing.JEditorPane.setText( 
at javax.swing.JEditorPane.<init>( 
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(Unknown Source) 
at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(Unknown Source) 
at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(Unknown Source) 
at com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source) 
at com.install4j.runtime.installer.Installer.runInProcess(Unknown Source) 
at com.install4j.runtime.installer.Installer.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.exe4j.runtime.LauncherEngine.launch(Unknown Source) 
at com.install4j.runtime.launcher.Launcher.main(Unknown Source) 
Could not display the GUI. This application needs access to an X Server. 
You can also run this application in console mode without 
access to an X server by passing the argument -c 


This issue is caused by a known problem with Redhat.


More information:



Create a file called local.conf in the /etc/fonts directory with the following contents and try the installation again. This will force Utopia to be the default font used by the JRE.


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


If you don't have root access, you can also create ~/.config/fontconfig/fonts.conf with the same contents. Log out and log back in again to the Server.

Version history
Last update:
‎10-31-2018 02:56 PM
Updated by:
Labels (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.

If you don't have root access, you can also create " ~/.config/fontconfig/fonts.conf" with the same contents, logout and login again to the server.

@David.Lopes Thanks for sharing that tip! I've incorporated it to the article.