Jump to content
JasperReports Library 7.0 is now available ×

compiling report on Oracle OCS 10g


2004 IR Help

Recommended Posts

By: arno - arno1984

compiling report on Oracle OCS 10g

2005-11-29 07:50

Hi all,

 

I've been encountering a problem trying to migrate a webapp from oracle OCS 9 to 10G, using OC4J. It seems Jasper template can't compile anymore. Here are parts of the stack trace:

 

Error compiling report java source file : /oracle/ocs/j2ee/home/monrapport.java

java.io.IOException: java.io.IOException: javac: not found

at java.lang.UNIXProcess.<init>(UNIXProcess.java:143)

at java.lang.Runtime.execInternal(Native Method)

 

...

 

Error compiling report java source file : /oracle/ocs/j2ee/home/monrapport.java

at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClass(JRJavacCompiler.java:128)

at net.sf.jasperreports.engine.design.JRAbstractJavaCompiler.compileReport(JRAbstractJavaCompiler.java:152)

 

The system is running on RedHat enterprise. I only know the previous JDK version was 1.3 and now is 1.4.2

 

If anyone knows about that compiling problems, thanks in advance for helping.

 

Arno

 

 

 

 

By: Teodor Danciu - teodord

RE: compiling report on Oracle OCS 10g

2005-11-29 08:07

 

Hi,

 

First of all, make sure you really need to compile

report templates at runtime.

If you only have static report templates, you don't.

 

Then put the jdt-compiler.jar found inside our

project distribution into the classpath of your

application.

 

I hope this helps.

Teodor

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