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

Search Answers Database


 

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

AR# 31306
Part SW-Chipscope Pro
Last Modified 2008-07-16 00:00:00.0
Status Active
Keywords Linux, Red Hat, commandline, inserter.sh

Description

Keywords: Linux, Red Hat, commandline, inserter.sh

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.
 
 
Jobs Events Webcasts News Investors Feedback Legal Privacy Trademarks Sitemap
©  1994-2008 Xilinx, Inc. All Rights Reserved.