File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes font issue in gnu classpath and jamvm and jfree chart. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "font issue in gnu classpath and jamvm and jfree chart." Watch "font issue in gnu classpath and jamvm and jfree chart." New topic
Author

font issue in gnu classpath and jamvm and jfree chart.

dhaval yoganandi
Ranch Hand

Joined: Jun 06, 2009
Posts: 35

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.


a.k.a stalker.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: font issue in gnu classpath and jamvm and jfree chart.