issue using jfree chart with gnu classpath 0.98

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hi GNU classpath team,

I'm facing some problem using jfree chart with GNU classpath 0.98 and JamVM. I'm using a redhat based linux which is only console based linux and doesn't support desktop and graphics. while running following demo in my machine with JamVM I get NullPointerException but it is working fine with JDK 1.5 with update 14. While generating chart with jfree chart it is also giving the same error.

import java.awt.Font;
public class FontDemo{
      public static void main(String args[]){
              Font f = new Font("SansSerif", Font.BOLD, 18);

/bin/jamvm/bin/jamvm -cp . FontDemo Exception in thread "main" java.lang.NullPointerException
 at java.awt.Font.getName(
 at FontDemo.main(

can you shed some more light on this issue ?

Thanks and Regards,

Dhaval Yoganandi,
Jr. Software Engineer,
Elitecore Technologies Ltd.

[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux