This issue is likely related to the version of Java installed on your system. Java version 1.6 or higher is required to generate Java-based graphs. Older versions of Java may not work or may provide undesired results.
Java updates are available on the Java Download page.