Jump to content
Changes to the Jaspersoft community edition download ×

[java.io.IOException: CreateProcess] Help Plz


2005 IR Help

Recommended Posts

By: Mohsen Saboorian - mohsen_s

[java.io.IOException: CreateProcess] Help Plz

2004-12-14 23:58

Hello,

I'm newbie to Jasper Reports and iReport. I've made a new report using wizard. The connection is successfully created, and there is nop with database.

When I compile the report the following error is shown:

 

Thanks in advance.

 

___________________________________

Compiling to file... .calendar2.jasper -> .classic.java Errors compiling .calendar2.jasper! 0 [Thread-5] WARN design.JRVerifier - Warning : Element bottom reaches outside band area : y=20 height=1 band-height=20 java.io.IOException: CreateProcess: javac -classpath ".;g:jdk1.5.0lib;g:jdk1.5.0jrelib;" at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClass(JRJavacCompiler.java:103) at net.sf.jasperreports.engine.design.JRAbstractJavaCompiler.compileReport(JRAbstractJavaCompiler.java:152) at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:137) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:142) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:130) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:336) at java.lang.Thread.run(Unknown Source) NESTED BY : net.sf.jasperreports.engine.JRException: Error compiling report java source file : C:DownloadsDeviReport-0.4.0classic.java at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClass(JRJavacCompiler.java:128) at net.sf.jasperreports.engine.design.JRAbstractJavaCompiler.compileReport(JRAbstractJavaCompiler.java:152) at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:137) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:142) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:130) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:336) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: CreateProcess: javac -classpath ".;g:jdk1.5.0lib;g:jdk1.5.0jrelib;d:bea8.1weblogic81serverextNJS.jar;d:bea8.1weblogic81serverextnjslib.jar;E:Program FilesRationalRUPBuilder;E:Program FilesRationalcommonjavaswingall.jar;E:Program FilesRationalcommonjavajavahelpjh.jar;D:OraDevjlibbigraphbean.jar;D:OraDevjlibLW_PfjBean.jar;D:OraDevjlibbigraphbean-nls.zip;c:programsjavafarshad.jar;d:OraDevforms90javaf90all.jar;D:OraHomejdbclibclasses12.jar;;.classes;.libbarbecue-1.1.jar;.libbsh-1.3.0.jar;.libcommons-beanutils.jar;.libcommons-collections.jar;.libcommons-digester.jar;.libcommons-logging-api.jar;.libcommons-logging.jar;.libhsqldb.jar;.libiReport.jar;.libitext-1.02b.jar;.libjasperreports-0.6.1.jar;.libjcmdline-1.0.2.jar;.libjcommon-0.9.6.jar;.libjfreechart-0.9.21.jar;.liblog4j-1.2.8.jar;.liblooks-1.2.2.jar;.libmysql-connector-java-3.0.8-stable-bin.jar;.libpoi-2.0-final-20040126.jar;.libtinylaf.jar;.libxalan.jar;.libxercesImpl at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClass(JRJavacCompiler.java:103) ... 6 more

 

 

 

 

By: CleverFool - cleverfool

RE: [java.io.IOException: CreateProcess] Help

2004-12-15 07:57

As I understand javac could not be started. I see, that you are using JDK, and so dt.jar absence couldn't be problem. However as I remember JDK 1.5 does not suport classic compiler - can you switch it to modern?

 

P.S. My brain is not working very well today, so all above maybe wrong.

 

 

 

 

By: Mohsen Saboorian - mohsen_s

RE: [java.io.IOException: CreateProcess] Help

2004-12-16 09:35

Thanks for the help.

I can not get the point for classic/modern compiler?

JDK 5 has javac.exe like previous versions.

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