Jump to content
Changes to the Jaspersoft community edition download ×

JRDefaultCompiler.loadCalculator


2004 IR Help

Recommended Posts

By: dragospd - dragospd

JRDefaultCompiler.loadCalculator

2005-05-09 08:02

This method gives me an error while tries to retrieve a compiler. i have installed eclipse and from some reason jr tries to use the org/eclipse/jdt/internal/compiler compiler class. Can someone tell me why and where to change this behaviour? There are NO classpath to that eclipse plugin nor other registry entries.

 

 

 

 

By: Teodor Danciu - teodord

RE: JRDefaultCompiler.loadCalculator

2005-05-09 08:15

 

Hi,

 

The JRJdtCompiler is now the default used in JasperReports.

 

If you want to change that, use the "jasper.reports.compiler.class" system property like

explained here:

 

http://jasperreports.sourceforge.net/quick.how.to.html#compile

 

However, I suggest you simply upgrade to the 0.6.6

version because a correction was made and reports

compiled with the JDT compiler do not required the JDT

classes in the classpath at runtime anymore.

If you cannot upgrade or the problem persists, just

take the jdt-compiler.jar from the JasperReports

distribution and place it in 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...