• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

font issue in gnu classpath and jamvm and jfree chart.

 
Ranch Hand
Posts: 35
Android VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic