Jump to content
We've recently updated our Privacy Statement, available here ×

Error initializing graphic environment


Recommended Posts

By: elmarrajo - elmarrajo

Error initializing graphic environment

2006-03-30 07:52

Hello , when I use :

jasperPrint = JasperFillManager.fillReport( jasperReport, new HashMap()); I receive an error:

 

net.sf.jasperreports.engine.JRException: Error

initializing graphic environment.

 

What's the problem? I run the .jsp file under tomcat4.1 and I dont' know what's the matter.

 

Thanks,

First

 

 

 

 

By: Denny Valliant - xenden

RE: Error initializing graphic environment

2006-03-30 16:23

Is there an image in the report?

 

You probably need to pass this param to the JVM when you start it: -Djava.awt.headless=true

 

see:

https://sourceforge.net/forum/message.php?msg_id=3246546

for some sorta related info

 

Maybe that will fix it?

 

Happy hunting!

Xd

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...