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

ireport error on solaris


wxtwxt

Recommended Posts

ireport error on solaris and fedro redhat

setting:

CLASSPATH=/usr/jdk/jdk1.5.0_06/lib/dt.jar:/usr/jdk/jdk1.5.0_06/lib/tools.jar:/usr/iReport-2.0.1/lib

PATH=/usr/jdk/jdk1.5.0_06/bin:/usr/jdk/jdk1.5.0_06/jre/bin:/usr/iReport-2.0.1/bin:$PATH

IREPORT_CLASSPATH=/usr/jdk/jdk1.5.0_06/lib/dt.jar:/usr/jdk/jdk1.5.0_06/lib/tools.jar:/usr/iReport-2.0.1/lib

export IREPORT_CLASSPATH

export CLASSPATH

export PATH

 

error:

 

# cd /usr/iReport-2.0.1/bin

# bash startup.sh

Exception in thread "main" java.lang.NoClassDefFoundError: it/businesslogic/ireport/gui/MainFrame

#

 

why?

need help

thanks

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

need help

anybody help??

 

I tried mang times

but the error also

 

please help

 

i change the seting like this

CLASSPATH=/usr/jdk/j2sdk1.4.2_08/lib/dt.jar:/usr/jdk/j2sdk1.4.2_08/lib/tools.jar:/usr/iReport-2.0.1/lib

PATH=/usr/jdk/j2sdk1.4.2_08/bin:/usr/jdk/j2sdk1.4.2_08/jre/bin:/usr/iReport-2.0.1/bin:$PATH

IREPORT_CLASSPATH=/usr/jdk/j2sdk1.4.2_08/lib/dt.jar:/usr/jdk/j2sdk1.4.2_08/lib/tools.jar:/usr/iReport-2.0.1/lib:usr/iReport2.0.1/bin:/usr/iReport-2.0.1/lib/jasperreports-2.0.1.jar

IREPORT_HOME=/usr/iReport-2.0.1

JAVA_HOME=/usr/jdk/j2sdk1.4.2_08

export IREPORT_CLASSPATH

export CLASSPATH

export PATH

export IREPORT_HOME

export JAVA_HOME

 

but the error is the same:

bash startup.sh

Exception in thread "main" java.lang.NoClassDefFoundError: it/businesslogic/ireport/gui/MainFrame

 

 

SOS

SOS

Link to comment
Share on other sites

I can't tell you what your problem is, yet

- iReport 2.0.1 needs Java 1.5.0 or later

- setting CLASSPATH to anything ...:path/lib does not work, a folder is only searched for class files, jars need to be added manually all of them.

 

Why do you set any classpath and especially IREPORT_CLASSPATH variable before starting the script?

 

Seb.

Link to comment
Share on other sites

  • 2 weeks later...

Try to come back to default settings (I never had to change them) and to start the startup.sh script from the /usr/iReport-2.0.1/bin directory. Another thing I have to do each time I install a new version of IReport is to copy tools.jar from my JDK distribution to the iReport lib directory.

 

Hope that helps

Post edited by: keurvet, at: 2007/09/27 15:49

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