In this page we give answers to frequently asked questions about JAS.
This error occurs if your Java virtual maschine is older than the Java used in compiling the classes. Use the JAS source to compile the .class files with your version of the Java VM. See e.g. Eclipse.
Ant uses a wrong Java version.
Define the Java home directory in the environment.
E.g. in Linux use
export JAVA_HOME=/usr/java/jdk1.6.0_02
or the directory of your installed Java version.
JAS uses the new generic type parameters, which where introduced in Java version 5. So you must use at least a Java Development Kit 5 or later. See Java.sun.com for the latest Java releases.
You must include the Log4j classes in the classpath. e.g.
java -cp log4j.jar:. mysample
We provide an adapter package for Java logging with mylog.jar.
The package contians classes which delegate all logging calls to java.util.logging
classes. Java logging must be configured to your needs - we do not provide sample configurations.
You use it inplace of log4j.jar
, for example
java -cp mylog.jar:. mysample
Last modified: Thu Jan 29 22:23:30 CET 2009