I tested Jasper code on my machine and it is working well. Whereas on Unix server when I try to run during call to fillReporttoFile method I am getting java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment.. Also please suggest can I use any alternative method to fill the reports which does not make call to awt package. Please help me ASAP what I should do?