title: JfreeChart Error in Linux/Unix environment
body: <p>I am getting this error in the Linux environment while displaying 3D pie charts on the web browser. It works perfectly fine in the windows environment.</p>
  
  <pre>
  java.lang.NoClassDefFoundError:
  Could not initialize class org.jfree.chart.JFreeChart
  at org.jfree.chart.ChartFactory.createPieChart3D(ChartFactory.java:763)
  </pre>
  
  <hr>
  
  <p>I have set the system property System.setProperty("java.awt.headless", "true"); in my java code.
  On checking the property, it has been set to true successfully.
  But still i am getting the same error.</p>