UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 31306

10.1 ChipScope Pro - When I attempt to run ChipScope Inserter command line, I see: "java.awt.HeadlessException:" or a similar message

Description

When I attempt to run ChipScope Inserter command line, I see the following: 

 

EXCEPTION DETAILS: 

java.awt.HeadlessException: 

No X11 DISPLAY variable was set, but this program performed an operation which requires it. 

at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source) 

at java.awt.Window.<init>(Unknown Source) 

at java.awt.Frame.<init>(Unknown Source) 

at java.awt.Frame.<init>(Unknown Source) 

at javax.swing.JFrame.<init>(Unknown Source) 

at com.xilinx.chipscope.inserter.InserterFrame.<init>(InserterFrame.java:287) 

at com.xilinx.chipscope.inserter.InserterApp.createGUI(InserterApp.java:441) 

at com.xilinx.chipscope.inserter.InserterApp.main(InserterApp.java:557)

Solution

The issue is that there is no %DISPLAY% environment variable set. The command line flow does not require a GUI output but does call some GUI related processes which require a %DISPLAY% variable to be set. The work-around method is to set the  

%DISPLAY% variable.

AR# 31306
Date Created 07/16/2008
Last Updated 05/23/2014
Status Archive
Type General Article