You can launch JReport Designer from the Command Prompt window. This method is optional on some platforms (Windows for example) and preferred on others. Using command-line startup enables you to use the command-line syntax options.
java -Dreporthome=path -classpath path jet.builder.JReport -vError -vDebug -help
The command line arguments for JReport Designer are described below. Note that the setup process creates several startup batch files which may contain additional parameters.
<install_root>\bin
and check whether they are valid. jslc.dat is the License control file. If you open report.ini, you will find configuration information, including the temp path, template path and the help path. JReport uses the temp path for exporting temporary files, so you should make sure that the temp folder specified in report.ini actually exists.Assume that JReport Designer has been installed in C:\JReport\Designer
, this parameter is -Dreporthome=C:\JReport\Designer.
C:\JReport\Designer
and Java (JDK1.x.x) has been installed in C:\java
, this parameter is then:
-classpath C:\java\lib\classes.zip;C:\jreport\designer\lib\report.jar;
You can specify the log file format, such as Text, or HTML. You can then decide whether or not to append the log files to an existing file, or to create a new file. You can even specify the log layout using the abundant options that JReport provides. To do this, you need to edit the file LogConfig.properties in <install_root>\bin
. For detailed information on how to configure logging and debugging information, see the LogConfig.properites file.