I have a web application on Amazon EC2 and JasperReports doesn't work like on my Windows PC... it comes out with
java.lang.Error: Probable fatal error:No fonts found.
I installed liberation-fonts
as suggested by many on google, then I'm trying to set up this option for tomcat:
-Djava.awt.headless=true
I added it to JAVA_OPTS (as CATALINA_OPTS was missing) in etc/tomcat6/tomcat6.conf, with no effect. Do you have any clues on this?