2004 IR Help Posted August 30, 2006 Share Posted August 30, 2006 By: Bob Fike - bobfike Compile error on my first report 2004-02-18 06:19 I am using Win200 Pro and latest download of iReports (0.2.2). I use create a simple report with a single static text field in the title band. WHen I compile I get the following, anybody have any ideas why?? Compiling to file... C:iReport-0.2.2mydoc.jasper -> C:iReport-0.2.2mydoc.java Errors compiling C:iReport-0.2.2mydoc.jasper! java.io.IOException:?CreateProcess:?javac?-classpath?C:wdscJAVA;c:j2sdk1.4.2_02lib;.classes;.libcommons-beanutils.jar;.libcommons-collections.jar;.libcommons-digester.jar;.libcommons-logging-api.jar;.libcommons-logging.jar;.libitext-0.96.jar;.libiTextAsian.jar;.libjakarta-poi-1.5.1-final-20020615.jar;.libjasperreports-0.5.0.jar;.libjcommon-0.8.0.jar;.libjfreechart-0.9.8.jar;.libmysql-connector-java-3.0.8-stable-bin.jar;.libxercesImpl.jar;.libxmlParserAPIs.jar?C:iReport-0.2.2mydoc.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?dori.jasper.engine.design.JRJavacCompiler.compileClass(JRJavacCompiler.java:102) ????at?dori.jasper.engine.design.JRAbstractJavaCompiler.compileReport(JRAbstractJavaCompiler.java:151) ????at?dori.jasper.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:136) ????at?dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:135) ????at?dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:123) ????at?it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:139) ????at?java.lang.Thread.run(Unknown?Source) NESTED?BY?: dori.jasper.engine.JRException:?Error?compiling?report?java?source?file?:?C:iReport-0.2.2mydoc.java ????at?dori.jasper.engine.design.JRJavacCompiler.compileClass(JRJavacCompiler.java:127) ????at?dori.jasper.engine.design.JRAbstractJavaCompiler.compileReport(JRAbstractJavaCompiler.java:151) ????at?dori.jasper.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:136) ????at?dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:135) ????at?dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:123) ????at?it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:139) ????at?java.lang.Thread.run(Unknown?Source) Caused?by:?java.io.IOException:?CreateProcess:?javac?-classpath?C:wdscJAVA;c:j2sdk1.4.2_02lib;.classes;.libcommons-beanutils.jar;.libcommons-collections.jar;.libcommons-digester.jar;.libcommons-logging-api.jar;.libcommons-logging.jar;.libitext-0.96.jar;.libiTextAsian.jar;.libjakarta-poi-1.5.1-final-20020615.jar;.libjasperreports-0.5.0.jar;.libjcommon-0.8.0.jar;.libjfreechart-0.9.8.jar;.libmysql-connector-java-3.0.8-stable-bin.jar;.libxercesImpl.jar;.libxmlParserAPIs.jar?C:iReport-0.2.2mydoc.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?dori.jasper.engine.design.JRJavacCompiler.compileClass(JRJavacCompiler.java:102) ????...?6?more Compilation running time : 621 By: Giulio Toffoli - gt78 RE: Compile error on my first report 2004-02-18 09:03 copy tools.jar (from your jdk) into iReport lib directory and retry By: Bob Fike - bobfike RE: Compile error on my first report 2004-02-18 16:35 Thank you very much. This solved the problem. By: Jose Alanya Gó¥º - jalanya RE: Compile error on my first report 2004-02-23 09:00 my report is ok, but i want to show it in my web application. my server application is tomcat 4.1 and i made a copy from the archives Report-0.2.2/lib to app_demo/WEB-INF/lib but when execute http://server/rpt/rpt_demo.jasper not to show nothing. i am new in Jaspper anybody have an example. i help me please Joseph Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now