File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes jasper error in linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "jasper error in linux" Watch "jasper error in linux" New topic

jasper error in linux

praveen kanakarajan
Ranch Hand

Joined: Apr 27, 2005
Posts: 54
Im getting error while calling a jasper report .I believe its something related to linux .i tried setting DISPLAY still its not working.Im using linux with Websphere as server.
java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName( Code))
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
at net.sf.jasperreports.engine.util.JRGraphEnvInitializer.initializeGraphEnv(
at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(
at net.sf.jasperreports.engine.fill.JRFiller.createFiller(
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(
at net.sf.jasperreports.engine.JasperFillManager.fillReport(
at ReportServlet.returnReportPrint(
at ReportServlet.processRequest(
at ReportServlet.doGet(

Please help in solving this.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
See here for some information and solutions.
[ May 09, 2007: Message edited by: Ulf Dittmer ]
I agree. Here's the link:
subject: jasper error in linux
It's not a secret anymore!