Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
 
subject: font issue in gnu classpath and jamvm and jfree chart.
 
Similar Threads
Something is wrong with my Java on LInux...
Need a little bit of help
Problem in displaying waterfall chart with -ve values
Facing problem while using the JFreeChart in servlet
Exception while sending mail using GNU java mail library.