Jump to content
Changes to the Jaspersoft community edition download ×

Jasper runtime compilation ERROR..help!

2004 IR Help

Recommended Posts

By: farid ghawi - farid_g

Jasper runtime compilation ERROR..help!

2005-12-07 02:38


I'm running my application using JNLP that includes signed jars.

My problem is that i'm getting an error which starts with :

<run direcotry>myReport.java:4: package net.sf.jasperreports.engine does not exist

import net.sf.jasperreports.engine.*;


<run direcotry>myReport.java:5: package net.sf.jasperreports.engine.fill does not exist

import net.sf.jasperreports.engine.fill.*;


<run direcotry>myReport.java:18: cannot resolve symbol

symbol : class JRCalculator

location: class orderTicket

public class myReport extends JRCalculator


BUT when i run the same application (and the same jars included)using BATCH file and non-signed jars, it works fine!


i have to mention that the JNLP ant the signed jars located on seperated machine (not on my work station).


Can any one suggest any help?







By: David Karnowski - karnowski

RE: Jasper runtime compilation ERROR..help!

2005-12-12 14:02

You are including the relevant Jasper jars (i.e. not just your reports) in your "*.jnlp" file? Particularly: jasperreports-1.1.0.jar?

Do you see the Jasper jars get downloaded when Java Web Start is downloading the jars?







By: Jae Gangemi - jgangemi

RE: Jasper runtime compilation ERROR..help!

2005-12-13 12:23

i'm also having a similiar problem trying to create a standalone executeable jar (using one-jar).


at line 185 in JRAbstractCompiler, it looks up the compiler classpath, which defaults to "java.class.path", which only contains the name of the jar file i just launched.


any suggestions?





By: Denny Valliant - xenden

RE: Jasper runtime compilation ERROR..help!

2005-12-13 17:49

You could try setting the java.class.path...

Something like:


or similar.


Don't know if that will work or not, but theoretically it would...

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