Jump to content
We've recently updated our Privacy Statement, available here ×

Eclipse Mars >> JasperSoft Studio >> Java 1.6 >> Compatibility Compiler to Jasper v4.5.1 - will it work?


eric_28

Recommended Posts

I need to know if this setup will work or not - i.e. is Eclipse Mars or JSS 6.2.2 plug-in going to require JDK 8 and not even allow this workflow between versions?

Eclipse Mars >> JasperSoft Studio >> Java 1.6 >> Compatibility Mode Compiler to Jasper v4.5.1?

Inherited a project with Jasper Server 4.5.1, Jasper Reports 4.5.1, Java 1.6_029.  We're stuck with it for now.

Previous developer was using iReport 4.5.1.  Very buggy, crashes a lot - little or no support in forums - no one really cares about iReport anymore, so confidence is not high that I can even use this tool reliably in our dev stack.

Found JSS and plugged in to Eclipse Mars:

-got the reverse compiler pack for JSS

-workspace is running JDK 6

-project is setup for JDK 6

ISSUE:  I can run a report (preview) and the JSS console says Compiling Report....DONE.  But there are no .jasper files being created.  At first I was getting class not found/can't be loaded for jaspersoft compiler, that's magilicously disappeared after I toggled Jasper Nature on project.  WHERE ARE THE .jasper FILES UPON COMPILATION GOING?  If JSS is showing report previews, isn't it having to compile them?  I've seen some threads about resource locations, etc. - but I've done a search for .jasper files being created and they are nowhere to be found anywhere in Eclipse or the original report directory or anywhere else.

EDIT:  STACK TRACK FROM JSS JRCONSOLE:


Start Compilation with command:
java -cp C:devdev_appsiReport-4.5.1*;C:devmars1TEST PROJECTbin;C:devdev_appsiReport-4.5.1platform9libojdbc6-11.2.0.2.jar;C:devdev_appseclipse-marsconfigurationorg.eclipse.osgi969.cplibjs-common.jar;C:devdev_appseclipse-marsconfigurationorg.eclipse.osgi969.cplibjs-extra-classes.jar com.jaspersoft.jasperreports.toolkit.JRCompiler C:devmars1TEST PROJECTreportsMyReportName.jrxml C:devmars1TEST PROJECTreportsMyReportName.jasper
Error: Could not find or load main class com.jaspersoft.jasperreports.toolkit.JRCompiler
Picked up _JAVA_OPTIONS: -Duser.home=C:Usersmyname
Compilation terminated

Thanks.

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