Jump to content
Changes to the Jaspersoft community edition download ×

Jasper 1.2.5, NB 5.0, SDK 1.5.0_06


Renter

Recommended Posts

Hi Again.

 

I tried now using jasper in a main class, like the desciption here on the site, which tells how to integrate into NB 5.5 beta 2 (?).

 

I have the libs in my project, I copied the source and the rjxml-file into my project and into a new file. The directories are named like the sources request and I let it run in the IDE - but the result is:

 

 

 

Code:
init:
deps-jar:
compile:
run:
java.io.IOException: CreateProcess: javac -classpath "C:|JavaAddOns|jasper-1-2-5|dist|jasperreports-1.2.5.jar;C:|JavaAddOns|jasper-1-2-5|lib|commons-beanutils-1.5.jar;C:|JavaAddOns|jasper-1-2-5|lib|commons-collections-2.1.jar;C:|JavaAddOns|jasper-1-2-5|lib|commons-digester-1.7.jar;C:|JavaAddOns|jasper-1-2-5|lib|commons-javaflow-20060411.jar;C:|JavaAddOns|jasper-1-2-5|lib|commons-logging-1.0.2.jar;C:|Dokumente und Einstellungen|renter|Eigene Dateien|JavaSource|JasperGen|build|classes" "C:|Dokumente und Einstellungen|renter|Eigene Dateien|JavaSource|JasperGen|HelloReportWorld_1154589927812_119032.java" error=2
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:464)
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:189)
at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:144)
at jaspergen.Main.main(Main.java:39)

NESTED BY :
java.io.IOException: CreateProcess: javac -classpath "C:|JavaAddOns|jasper-1-2-5|dist|jasperreports-1.2.5.jar;C:|JavaAddOns|jasper-1-2-5|lib|commons-beanutils-1.5.jar;C:|JavaAddOns|jasper-1-2-5|lib|commons-collections-2.1.jar;C:|JavaAddOns|jasper-1-2-5|lib|commons-digester-1.7.jar;C:|JavaAddOns|jasper-1-2-5|lib|commons-javaflow-20060411.jar;C:|JavaAddOns|jasper-1-2-5|lib|commons-logging-1.0.2.jar;C:|Dokumente und Einstellungen|renter|Eigene Dateien|JavaSource|JasperGen|build|classes" "C:|Dokumente und Einstellungen|renter|Eigene Dateien|JavaSource|JasperGen|HelloReportWorld_1154589927812_119032.java" error=2
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:464)
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:189)
at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:144)
at jaspergen.Main.main(Main.java:39)

NESTED BY :
net.sf.jasperreports.engine.JRException: Error compiling report java source files : C:|Dokumente und Einstellungen|renter|Eigene Dateien|JavaSource|JasperGen|HelloReportWorld_1154589927812_119032.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:189)
at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:144)
at jaspergen.Main.main(Main.java:39)
Caused by: java.io.IOException: CreateProcess: javac -classpath "C:|JavaAddOns|jasper-1-2-5|dist|jasperreports-1.2.5.jar;C:|JavaAddOns|jasper-1-2-5|lib|commons-beanutils-1.5.jar;C:|JavaAddOns|jasper-1-2-5|lib|commons-collections-2.1.jar;C:|JavaAddOns|jasper-1-2-5|lib|commons-digester-1.7.jar;C:|JavaAddOns|jasper-1-2-5|lib|commons-javaflow-20060411.jar;C:|JavaAddOns|jasper-1-2-5|lib|commons-logging-1.0.2.jar;C:|Dokumente und Einstellungen|renter|Eigene Dateien|JavaSource|JasperGen|build|classes" "C:|Dokumente und Einstellungen|renter|Eigene Dateien|JavaSource|JasperGen|HelloReportWorld_1154589927812_119032.java" error=2
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:464)
at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClasses(JRJavacCompiler.java:62)
... 6 more
BUILD SUCCESSFUL (total time: 1 second)

 

The backslashes are changed to | for posting reasons...

 

Could anyone give me a hint where I have to change something???

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

teodord wrote:

Hi, again

This is the same issue as the one here:
http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=view&id=471&catid=8

What's been said there, would apply here as well.

Thank you,
Teodor

 

No, it's different. After some further checks, I put the jdt-compiler.jar into the lib which I attached to the project. It works now, but, and this is the different, the JApplet produces the same error!!!

Link to comment
Share on other sites

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