title: HeadlessException while launching Jasper iReport
body: <p>I am trying to run Jasper iReport on Ubuntu 10.04 and getting <code>java.awt.HeadlessException</code>:</p>
  
  <pre><code>Exception in thread "main" java.awt.HeadlessException
      at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
      at java.awt.Window.&lt;init&gt;(Window.java:437)
      at java.awt.Frame.&lt;init&gt;(Frame.java:419)
      at java.awt.Frame.&lt;init&gt;(Frame.java:384)
      at javax.swing.SwingUtilities$SharedOwnerFrame.&lt;init&gt;(SwingUtilities.java:1758)
      at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1835)
      at javax.swing.JDialog.&lt;init&gt;(JDialog.java:270)
      at javax.swing.JDialog.&lt;init&gt;(JDialog.java:204)
      at it.businesslogic.ireport.gui.SplashDialog.&lt;init&gt;(SplashDialog.java:44)
      at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:7826)
  </code></pre>
  
  <p>Please help me overcome this situation.</p>