Jump to content
Changes to the Jaspersoft community edition download ×

Cannot find lib in iReport home directory (null)


blurngr

Recommended Posts

I just recently installed iReport-1.2.5, and I'm having a problem.

 

I'm running linux, Fedora Core 4, and using JDK (Sun) 1.5. My java -version shows:

[anthony@tigger lib]$ /usr/bin/java -version

java version "1.5.0_06"

Java 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)

Java HotSpot Server VM (build 1.5.0_06-b05, mixed mode)

 

My javac -version shows:

[anthony@tigger lib]$ /usr/bin/javac -version

javac 1.5.0_06

javac: no source files

Usage: javac <options> <source files>

 

I have unset my CLASSPATH.

 

I copied the tools.jar file into the iReport-1.2.5/lib/ directory.

 

However, when I run iReport.sh, I get an error to the terminal:

 

Cannot find lib in iReport home directory (null)

 

However, the window opens up, the progress bar gets all the way across, a new window opens up, but it's unresponsive, and just stays "grey" (no menus or buttons ever show up).

 

Any ideas?

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I attempted two different ways with the IREPORT_HOME env variable, neither seems to work.

 

Trial One:

[anthony@tigger iReport-1.2.5]$ export IREPORT_HOME=.

[anthony@tigger iReport-1.2.5]$ ./iReport.sh

Cannot find lib in iReport home directory (null)

 

[same problem]

 

Trial Two:

[anthony@tigger iReport-1.2.5]$ export IREPORT_HOME=/home/anthony/iReport-1.2.5

[anthony@tigger iReport-1.2.5]$ ./iReport.sh

Cannot find lib in iReport home directory (null)

 

[same problem]

 

Any other ideas?

 

Thanks!

Link to comment
Share on other sites

Hi,

 

I have the same problem. Setting the environment variable doesn't help. It seems that it.businesslogic.ireport.gui.MainFrame.getMainInstance().IREPORT_HOME_DIR in ReportClassLoader does not work properly if you start the iReport designer from shellscript or batchfile.

 

Regards

Marcus

Link to comment
Share on other sites

Thanks for your feedback. On a whim, after modifying the startup.sh and associated bash files, I just sat and waited. After about 3 minutes, the screen popped up, and it showed a JDBC timeout.

 

Strange.

 

However, I then went into the connection settings and clicked on "Text" (did not modify any variables or connections strings), and it tested fine.

 

Very strange.

 

Any way to turn off the initial connection when it's turning on?

 

Thanks!

Link to comment
Share on other sites

Thanks for your feedback. On a whim, after modifying the startup.sh and associated bash files, I just sat and waited. After about 3 minutes, the screen popped up, and it showed a JDBC timeout.

 

Strange.

 

However, I then went into the connection settings and clicked on "Text" (did not modify any variables or connections strings), and it tested fine.

 

Very strange.

 

Any way to turn off the initial connection when it's turning on?

 

Thanks!

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