Jump to content
Changes to the Jaspersoft community edition download ×

Using Jasper in a Unix environment.

2005 IR Help

Recommended Posts

By: Alti Pow - ruffie22

Using Jasper in a Unix environment.

2004-02-17 07:18

I have developed an application in a windows environment with jasper as the reporting engine. It works fine in the development area (Windows 2000) but when deployed to the server an error occurs stating "cannot use or find X11 graphics library"





By: David Lim - aberrant80

RE: Using Jasper in a Unix environment.

2004-02-17 17:44

Yep, me too. That occurred due to the lack of a graphics environment in your UNIX server. I actually started looking at PJA Toolkit (Pure AWT for Java) that bypasses system graphics.


But finally, I found out that if you're using at least JDK1.4, then all you need is this:


System.setProperty("java.awt.headless", "true");


or set it in the command line. That makes the JDK itself simulate a graphical environment rather than depend on the system's environment.


Hope that helps.

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