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?
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?
6 Answers:
Posted on July 19, 2006 at 3:09pm
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!
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!
Posted on July 20, 2006 at 8:47am
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
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
Posted on July 20, 2006 at 10:07pm
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!
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!
Posted on July 20, 2006 at 10:07pm
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!
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!