blurngr Posted July 19, 2006 Share Posted July 19, 2006 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 More sharing options...
Giulio Toffoli Posted July 19, 2006 Share Posted July 19, 2006 set the IREPORT_HOME env variable export IREPORT_HOME=. Giulio Link to comment Share on other sites More sharing options...
blurngr Posted July 19, 2006 Author Share Posted July 19, 2006 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.shCannot find lib in iReport home directory (null) [same problem] Any other ideas? Thanks! Link to comment Share on other sites More sharing options...
mg72 Posted July 20, 2006 Share Posted July 20, 2006 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. RegardsMarcus Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted July 21, 2006 Share Posted July 21, 2006 what if you pass the system property directly? java -Pireport.home=. bla bla bla Giulio Link to comment Share on other sites More sharing options...
blurngr Posted July 21, 2006 Author Share Posted July 21, 2006 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 More sharing options...
blurngr Posted July 21, 2006 Author Share Posted July 21, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now