[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1227
  • Last Modified:

Compiling Jasper Report from Java Program

Hello There,
                 I'm using IReport Designer and Jasper Reports for Reporting in my swing application. I have made a Stock report which is a very simple report showing the current values of Stock table without taking any argument. I generated this report using IReport 1.2 and is running fine and giving me required output. Now when I want to call StockReport.jrxml from my swing application it is throwing exception. Following is the code i'm writting on the click of a button


 try{
       JasperDesign jasperDesign = JRXmlLoader.load("D:/Eclipse Work/fitup/Reports/StockReport.jrxml");
                       JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
                       IConnection con=new ConnectionManager();
                       JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, null, con.open());
                       JasperViewer.viewReport(jasperPrint);
                 }catch(Exception ex) {
                      // String connectMsg = "Could not create the report " + ex.getMessage() + " " + ex.getLocalizedMessage();
                       System.out.println(ex);
                 }

                  
and Following is the message I'm getting at runtime

net.sf.jasperreports.engine.JRException: Error compiling report java source files : D:\Eclipse Work\fitup\StockReport_1144174836523_631297.java

As i'm developing my application using Eclipse 3.1 so i have also added following five external jars in my application

jasperreports-1.2.0.jar,
commons-beanutils-1.5.jar,
commons-collections-2.1.jar,
commons-digester-1.7.jar,
commons-logging-1.0.2.jar.

I would really appreciate if you will help me as I have never worked in Jasper Reports before.

Regards

Shahan





0
ShaniG
Asked:
ShaniG
  • 2
1 Solution
 
objectsCommented:
can you post the full stack trace
0
 
DeanHorakCommented:
When you installed jasperreports and iReport, did you install just the .jar file or from the project file (jasperreports-1.2.0-project.zip)?

There may be (and have been in past jasperreport versions) version dependencies on the supporing .jar files (i.e. the .jar files you listed above and others). Make sure you are using the versions supplied in the project file.

In particular there was a dependency on the xerces.jar a while back that caused this error...
0
 
ShaniGAuthor Commented:
Dear DeanHorak and Objects
                          Thankyou for your post, I downloaded iReport 1.2-zip and the above mentioned jar files have been taken from the lib directory of extracted iReport Folder. I havenot added any other jar file like xerces.jar in my project and niether this thing mentioned in any of the tutorials on ireport.sourceforge.net.

Following is the Stack Trace requested by Objects

java.io.IOException: CreateProcess: javac -classpath "D:\Eclipse Work\fitup;C:\Documents and Settings\Administrator\Desktop\EclipseCanada\Eclipse 3.1\eclipse\plugins\org.aspectj.runtime_1.5.0.20050916181211\aspectjrt.jar;C:\Documents and Settings\Administrator\My Documents\Eclipse Work\fitup\lib\jcalendar.jar;C:\Documents and Settings\Administrator\My Documents\Eclipse Work\fitup\lib\Calculator.jar;D:\Eclipse Work\fitup\lib\commons-beanutils-1.5.jar;D:\Eclipse Work\fitup\lib\commons-collections-2.1.jar;D:\Eclipse Work\fitup\lib\commons-digester-1.7.jar;D:\Eclipse Work\fitup\lib\commons-logging-1.0.2.jar;D:\Eclipse Work\fitup\lib\jasperreports-1.2.0.jar" "D:\Eclipse Work\fitup\StockReport_1144194831438_339456.java" error=2
      at java.lang.Win32Process.create(Native Method)
      at java.lang.Win32Process.<init>(Unknown Source)
      at java.lang.Runtime.execInternal(Native Method)
      at java.lang.Runtime.exec(Unknown Source)
      at java.lang.Runtime.exec(Unknown Source)
      at java.lang.Runtime.exec(Unknown Source)
      at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClasses(JRJavacCompiler.java:62)
      at net.sf.jasperreports.engine.design.JRAbstractClassCompiler.compileUnits(JRAbstractClassCompiler.java:67)
      at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:190)
      at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:131)
      at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)
      at ui.BaseController$SearchListener.actionPerformed(BaseController.java:82)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

NESTED BY :
java.io.IOException: CreateProcess: javac -classpath "D:\Eclipse Work\fitup;C:\Documents and Settings\Administrator\Desktop\EclipseCanada\Eclipse 3.1\eclipse\plugins\org.aspectj.runtime_1.5.0.20050916181211\aspectjrt.jar;C:\Documents and Settings\Administrator\My Documents\Eclipse Work\fitup\lib\jcalendar.jar;C:\Documents and Settings\Administrator\My Documents\Eclipse Work\fitup\lib\Calculator.jar;D:\Eclipse Work\fitup\lib\commons-beanutils-1.5.jar;D:\Eclipse Work\fitup\lib\commons-collections-2.1.jar;D:\Eclipse Work\fitup\lib\commons-digester-1.7.jar;D:\Eclipse Work\fitup\lib\commons-logging-1.0.2.jar;D:\Eclipse Work\fitup\lib\jasperreports-1.2.0.jar" "D:\Eclipse Work\fitup\StockReport_1144194831438_339456.java" error=2
      at java.lang.Win32Process.create(Native Method)
      at java.lang.Win32Process.<init>(Unknown Source)
      at java.lang.Runtime.execInternal(Native Method)
      at java.lang.Runtime.exec(Unknown Source)
      at java.lang.Runtime.exec(Unknown Source)
      at java.lang.Runtime.exec(Unknown Source)
      at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClasses(JRJavacCompiler.java:62)
      at net.sf.jasperreports.engine.design.JRAbstractClassCompiler.compileUnits(JRAbstractClassCompiler.java:67)
      at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:190)
      at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:131)
      at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)
      at ui.BaseController$SearchListener.actionPerformed(BaseController.java:82)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

NESTED BY :
net.sf.jasperreports.engine.JRException: Error compiling report java source files : D:\Eclipse Work\fitup\StockReport_1144194831438_339456.java
      at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClasses(JRJavacCompiler.java:93)
      at net.sf.jasperreports.engine.design.JRAbstractClassCompiler.compileUnits(JRAbstractClassCompiler.java:67)
      at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:190)
      at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:131)
      at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)
      at ui.BaseController$SearchListener.actionPerformed(BaseController.java:82)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknonet.sf.jasperreports.engine.JRException: Error compiling report java source files : D:\Eclipse Work\fitup\StockReport_1144194831438_339456.java
wn Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.IOException: CreateProcess: javac -classpath "D:\Eclipse Work\fitup;C:\Documents and Settings\Administrator\Desktop\EclipseCanada\Eclipse 3.1\eclipse\plugins\org.aspectj.runtime_1.5.0.20050916181211\aspectjrt.jar;C:\Documents and Settings\Administrator\My Documents\Eclipse Work\fitup\lib\jcalendar.jar;C:\Documents and Settings\Administrator\My Documents\Eclipse Work\fitup\lib\Calculator.jar;D:\Eclipse Work\fitup\lib\commons-beanutils-1.5.jar;D:\Eclipse Work\fitup\lib\commons-collections-2.1.jar;D:\Eclipse Work\fitup\lib\commons-digester-1.7.jar;D:\Eclipse Work\fitup\lib\commons-logging-1.0.2.jar;D:\Eclipse Work\fitup\lib\jasperreports-1.2.0.jar" "D:\Eclipse Work\fitup\StockReport_1144194831438_339456.java" error=2
      at java.lang.Win32Process.create(Native Method)
      at java.lang.Win32Process.<init>(Unknown Source)
      at java.lang.Runtime.execInternal(Native Method)
      at java.lang.Runtime.exec(Unknown Source)
      at java.lang.Runtime.exec(Unknown Source)
      at java.lang.Runtime.exec(Unknown Source)
      at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClasses(JRJavacCompiler.java:62)
      ... 28 more
Apr 5, 2006 12:53:51 AM ui.BaseController$SearchListener actionPerformed
INFO: Leaving
Apr 5, 2006 12:53:49 AM ui.BaseController$SearchListener actionPerformed
INFO: Entering
java.io.IOException: CreateProcess: javac -classpath "D:\Eclipse Work\fitup;C:\Documents and Settings\Administrator\Desktop\EclipseCanada\Eclipse 3.1\eclipse\plugins\org.aspectj.runtime_1.5.0.20050916181211\aspectjrt.jar;C:\Documents and Settings\Administrator\My Documents\Eclipse Work\fitup\lib\jcalendar.jar;C:\Documents and Settings\Administrator\My Documents\Eclipse Work\fitup\lib\Calculator.jar;D:\Eclipse Work\fitup\lib\commons-beanutils-1.5.jar;D:\Eclipse Work\fitup\lib\commons-collections-2.1.jar;D:\Eclipse Work\fitup\lib\commons-digester-1.7.jar;D:\Eclipse Work\fitup\lib\commons-logging-1.0.2.jar;D:\Eclipse Work\fitup\lib\jasperreports-1.2.0.jar" "D:\Eclipse Work\fitup\StockReport_1144194831438_339456.java" error=2
      at java.lang.Win32Process.create(Native Method)
      at java.lang.Win32Process.<init>(Unknown Source)
      at java.lang.Runtime.execInternal(Native Method)
      at java.lang.Runtime.exec(Unknown Source)
      at java.lang.Runtime.exec(Unknown Source)
      at java.lang.Runtime.exec(Unknown Source)
      at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClasses(JRJavacCompiler.java:62)
      at net.sf.jasperreports.engine.design.JRAbstractClassCompiler.compileUnits(JRAbstractClassCompiler.java:67)
      at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:190)
      at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:131)
      at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)
      at ui.BaseController$SearchListener.actionPerformed(BaseController.java:82)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

NESTED BY :
java.io.IOException: CreateProcess: javac -classpath "D:\Eclipse Work\fitup;C:\Documents and Settings\Administrator\Desktop\EclipseCanada\Eclipse 3.1\eclipse\plugins\org.aspectj.runtime_1.5.0.20050916181211\aspectjrt.jar;C:\Documents and Settings\Administrator\My Documents\Eclipse Work\fitup\lib\jcalendar.jar;C:\Documents and Settings\Administrator\My Documents\Eclipse Work\fitup\lib\Calculator.jar;D:\Eclipse Work\fitup\lib\commons-beanutils-1.5.jar;D:\Eclipse Work\fitup\lib\commons-collections-2.1.jar;D:\Eclipse Work\fitup\lib\commons-digester-1.7.jar;D:\Eclipse Work\fitup\lib\commons-logging-1.0.2.jar;D:\Eclipse Work\fitup\lib\jasperreports-1.2.0.jar" "D:\Eclipse Work\fitup\StockReport_1144194831438_339456.java" error=2
      at java.lang.Win32Process.create(Native Method)
      at java.lang.Win32Process.<init>(Unknown Source)
      at java.lang.Runtime.execInternal(Native Method)
      at java.lang.Runtime.exec(Unknown Source)
      at java.lang.Runtime.exec(Unknown Source)
      at java.lang.Runtime.exec(Unknown Source)
      at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClasses(JRJavacCompiler.java:62)
      at net.sf.jasperreports.engine.design.JRAbstractClassCompiler.compileUnits(JRAbstractClassCompiler.java:67)
      at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:190)
      at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:131)
      at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)
      at ui.BaseController$SearchListener.actionPerformed(BaseController.java:82)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

NESTED BY :
net.sf.jasperreports.engine.JRException: Error compiling report java source files : D:\Eclipse Work\fitup\StockReport_1144194831438_339456.java
      at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClasses(JRJavacCompiler.java:93)
      at net.sf.jasperreports.engine.design.JRAbstractClassCompiler.compileUnits(JRAbstractClassCompiler.java:67)
      at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:190)
      at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:131)
      at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)
      at ui.BaseController$SearchListener.actionPerformed(BaseController.java:82)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknonet.sf.jasperreports.engine.JRException: Error compiling report java source files : D:\Eclipse Work\fitup\StockReport_1144194831438_339456.java
wn Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.IOException: CreateProcess: javac -classpath "D:\Eclipse Work\fitup;C:\Documents and Settings\Administrator\Desktop\EclipseCanada\Eclipse 3.1\eclipse\plugins\org.aspectj.runtime_1.5.0.20050916181211\aspectjrt.jar;C:\Documents and Settings\Administrator\My Documents\Eclipse Work\fitup\lib\jcalendar.jar;C:\Documents and Settings\Administrator\My Documents\Eclipse Work\fitup\lib\Calculator.jar;D:\Eclipse Work\fitup\lib\commons-beanutils-1.5.jar;D:\Eclipse Work\fitup\lib\commons-collections-2.1.jar;D:\Eclipse Work\fitup\lib\commons-digester-1.7.jar;D:\Eclipse Work\fitup\lib\commons-logging-1.0.2.jar;D:\Eclipse Work\fitup\lib\jasperreports-1.2.0.jar" "D:\Eclipse Work\fitup\StockReport_1144194831438_339456.java" error=2
      at java.lang.Win32Process.create(Native Method)
      at java.lang.Win32Process.<init>(Unknown Source)
      at java.lang.Runtime.execInternal(Native Method)
      at java.lang.Runtime.exec(Unknown Source)
      at java.lang.Runtime.exec(Unknown Source)
      at java.lang.Runtime.exec(Unknown Source)
      at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClasses(JRJavacCompiler.java:62)
      ... 28 more
Apr 5, 2006 12:53:51 AM ui.BaseController$SearchListener actionPerformed
INFO: Leaving



Hope to hear soon from you
Regards
ShaniG
0
 
objectsCommented:
Looks like it may be failing to find javac, is it in your path?
do you have JAVA_HOME set to point to your jdk?
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now