There are two ways to run PEAR: using the WebStart mode (troubleshooting) or running it by the provided scripts. Notice that the WebStart mode does not allow you to extend PEAR's functionalities through plugins, so if you wish to run PEAR in standard mode you have to:
$PEAR_HOME/release/bin
run.bat
if you are using a Windows
operative system, otherwise use the script run.sh
to launch
PEAR under UNIX/LinuxThrough both the scripts you can specify the name of the source containing the definition of the default validation rule system:
core.jar
module). To change the logger verbosity you have to set the appropriate values for the following system properties:
If you wish to modify the values of the above system properties, you may edit the script's sources:
JVM_OPT
-D
Example:
JVM_OPT="-DdefaultRulesSource=synt-analysis.vr -DlogLevel=1 -DenableWarnings=true -DtimeHeader=true -DclassHeader=false"
I cannot web-start PEAR
Probably the application/x-java-jnlp-file
mime-type is
associated with the wrong application: it should be associated with
$JRE_HOME/javaws/javaws
.
I cannot find $JRE_HOME/javaws/javaws
application
Probably you need to install the Java Runtime Environment: try
here.
Note: $JRE_HOME
stands for the directory where the
Java Runtime Environment is installed.