"net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'Times New Roman' is not available to the JVM. See the Javadoc for more details"

I am using tomcate 7.0.35 server. 
I am able to get pdf and excel in my system. 
but when i deployed my project into production i am getting error like: 
"net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'Times New Roman' is not available to the JVM. See the Javadoc for more details" 
Plz somebody help me..

surendra.m.ample's picture
Joined: Dec 18 2013 - 1:11am
Last seen: 9 years 2 weeks ago

1 Answer:

what is your production OS? if it is ubuntu you need to install headless java. also installing missing font on system. have a look here.

http://stackoverflow.com/questions/3811908/jvm-fonts-and-jasperreports

i had a similar issue and mine was fixed by

apt-get install ttf-dejavu-core ttf-dejavu-extra -y
gholamian's picture
Joined: Feb 10 2014 - 7:57am
Last seen: 9 years 1 week ago
Feedback
randomness