Jump to content
Changes to the Jaspersoft community edition download ×

JasperReports on Linux without X windows


2004 IR Help

Recommended Posts

By: Sylvain - slaganiere

JasperReports on Linux without X windows

2005-07-19 06:59

Hi,

 

I'm using JasperReports with Tomcat on a Linux server without X windows. Is it possible to do so even if I have an image in my report ?

 

When I'm executing may program I have this error:

 

Caused by: java.lang.NoClassDefFoundError

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:141)

at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)

at net.sf.jasperreports.engine.util.JRGraphEnvInitializer.initializeGraphEnv(JRGraphEnvInitializer.java:59)

at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:181)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:83)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:75)

at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:108)

at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:429)

 

Thanks

 

 

 

 

By: Alexander Wallace - aows

RE: JasperReports on Linux without X windows

2005-07-19 08:36

try a forum search with your error message or 'headless', this is a well known problem already. (That was an answer given to someone else asking the question a long time ago)...

 

 

 

 

By: Daniel Ruoso - ruoso

RE: JasperReports on Linux without X windows

2005-07-19 13:58

Even with headless, you'll need the xlibs... maybe it's a swing bug...

 

In debian, you just need to apt-get install xlibs...

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...