Jump to content

Can I select an JRE version to work with iReport


steenvoorden

Recommended Posts

I'm developing reports on my workstation (windows XP) using iReport 1.3.3. Reports have to be transfered to a server (windows 2003) for execution. The server applications only works with java 1.4.2.

I can install the JRE1.4.2. on my workstation but that has, for other purposes, also JRE 1.6.0. iReport seems to use the newer version (you can use for instance BigDecimal.ONE as a constant). So when I transfer reports to the server some methods contants do not exist and generate errors.

Currently  I solved this by tightly sticking to the documentation for 1.4.2 but to avoid future errors I would like iReports to use the JRE1.4.2 on my workstation. Can I configure that somewhere?

Thanks,
Ruud

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

It is possible,

open ireport

tools>>option>>

main tab is iReport

under that go to tab jasperreports properties

it will show you all properties of jasper  look for  "net.sf.jasperreports.compiler.classpath"

try to modify path as you want for your classpath of jdk and jre. thats it!

 

if you are using latest version of ireport it provides you backword compactibility as well to generate jrxml

you may also want to look into

find tab general>>compatibility>> and set required version compatibility level

 

 

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