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
Eventually consider SLF4J for interfacing
to other logging systems.
The old adapter package for Java logging with mylog.jar is
discontinued.
JAS is no more compiling with Java 1.6, so JAS can at the moment not compiled and
dexed for Android.
For the core of JAS you can use the Debian package or the Android
application, see download page.
There are optional parts of JAS which depend on external tools and
libraries. Since it requires some understanding of these tools they
must be installed by yourself.
Last modified: Sun Nov 21 22:10:23 CET 2021