Jump to content
Changes to the Jaspersoft community edition download ×

JasperReports without JDK

2004 IR Help

Recommended Posts

By: Michael A - michael_bk

JasperReports without JDK

2005-09-07 07:33

Hi all,


is it possible to view reports without having a javac compiler installed on system? My development environment has a compiler, but customer side has only a JRE.


I can't a find a way to get .jasper .jrxml files displayed without javac compiler.


Am I missing something?




Please note: Data fill should be dynamic on customer side, of course. i can not create a pdf or xml file in development environment and display this one.





By: Teodor Danciu - teodord

RE: JasperReports without JDK

2005-09-07 07:41




First of all, make sure that you really need to compile

report templates at runtime.

If you are only working with statice report template,

deploying the .jasper files with the application should

be enough.


If you really need to create dynamic report templates

and compile them at runtime, then you should copy

the supplyed jdt-compiler.jar into your application


Since JR 0.6.4, the JDT-based report compiler is the

default one, so with that JAR in the classpath, no JDK

installation is needed.

The JDT compiler is up to 10 times faster and easier

to use.


I hope this helps.







By: Michael A - michael_bk

RE: JasperReports without JDK

2005-09-07 07:59

Hi Teodor,


I have added jdt-compiler.jar to my classpath...

Many thanks for the fast response!




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