2004 IR Help Posted August 31, 2006 Share Posted August 31, 2006 By: Luciano Zanin - cianoz How to start iReport 0.2.3 Java version ? 2004-03-12 07:59 Sorry for my stupid question, but... how do i run (start) iReport 0.2.3 from my Windowsy XP system ? Cause any .exe file is present i guess i have to run something like "Java xyz....", or not ? Java_home i set in my env and so the path for Java, have i to set any other variable ? I have j2sdk 1.4.2_04 installed (and also Apache-Ant) I'm not experienced with Java apps so i am in difficult, any help would be very appreciated ! By: Rick Millar - rmillar RE: How to start iReport 0.2.3 Java version ? 2004-03-12 08:40 In the directory in which you installed iReport, there should be a batch file called iReport.bat. Edit the file to make sure the ENV variables define paths that match your enviromnent. Double-click the batch file to start iReport. I created a shortcut to the batch file on my quicklaunch toolbar. iReport.bat uses ant to launch iReports. If you don't have or want to use ant, there is another batch file in a subdirectory called noant. In the noant subdirectory there is a batch file called startup.bat. My batch files look like this: iReport.bat -- @echo off set JAVA_HOME=C:j2sdk1.4.2_03 set ANT_HOME=C:apache-ant-1.6.1 set IREPORT_HOME=C:iReport-0.2.2 rem %ANT_HOME%binant javadocs echo %classpath% %ANT_HOME%binant iReport startup.bat -- rem @echo off cd .. dir set IREPORT_HOME=C:appsiReport-0.2.2 set CLASSPATH=%CLASSPATH%;.classes rem Add all jars.... for %%i in (".lib*.jar") do call ".noAntcpappend.bat" %%i java it.businesslogic.ireport.gui.MainFrame By: Luciano Zanin - cianoz RE: How to start iReport 0.2.3 Java version ? 2004-03-12 11:12 Thank you Rick i did not find any ireport.bat file, but i tried to create it following your example. Unfortunately it does not work: iReport does not start and i get a lot of error lines as output of the batch file (although i think my Ant installation works and the system variables are set ok). Anyway i found the startup.bat and it works ! So i will use this to run iReport. Thank you By: Giulio Toffoli - gt78 RE: How to start iReport 0.2.3 Java version ? 2004-03-12 14:54 I have lost to add iReport.bat. You can find it in iReport 0.2.3.1 The difference between iReport.bat and noAnt/startup.bat is that the first lunch the ant target to run iReport, the second is designed for people that don't have ANT or simply want luch iReport without it. Giulio 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