Cannot find lib in iReport home directory (null)

0
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(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) 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?
blurngr's picture
Joined: Jul 18 2006 - 11:24pm
Last seen: 13 years 4 months ago

6 Answers:

0
set the IREPORT_HOME env variable

export IREPORT_HOME=.

Giulio
giulio's picture
27676
Joined: Jan 2 2007 - 4:15pm
Last seen: 9 months 2 weeks ago
0
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!
blurngr's picture
Joined: Jul 18 2006 - 11:24pm
Last seen: 13 years 4 months ago
0
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
mg72's picture
18
Joined: Jul 19 2006 - 6:18pm
Last seen: 4 years 10 months ago
0
what if you pass the system property directly?

java -Pireport.home=. bla bla bla

Giulio
giulio's picture
27676
Joined: Jan 2 2007 - 4:15pm
Last seen: 9 months 2 weeks ago
0
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!
blurngr's picture
Joined: Jul 18 2006 - 11:24pm
Last seen: 13 years 4 months ago
0
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!
blurngr's picture
Joined: Jul 18 2006 - 11:24pm
Last seen: 13 years 4 months ago
Feedback
randomness