• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

font issue in gnu classpath and jamvm and jfree chart.

 
dhaval yoganandi
Ranch Hand
Posts: 35
Android Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I'm using gnu classpath 0.98 with jamvm 1.5.3 with GTK-peer enabled. I've a redhat based linux which don't have graphical environment and it's only console based linux. But some how I'm not able to use jfree chart.

I've also tried the following demo program of font. Its giving me NPE. But on the same system if I use JDK 1.5 with update 14 its working fine with following demo and with jfree chart also.




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


please help me.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic