You need to add an ENV variable:
JIKESPATH=/usr/java/jdk1.3/jre/lib/rt.jar:$CLASSPATH

This tells Jikes where to find the runtime jar.  

For Ant you will need an '.ant.properties' file.
The ant build script expects:
${user.home}/.ant.properties

The contents of my file is:

# Use Jikes 
build.compiler=jikes
# +E in Jikes 
build.compiler.emacs=true
# +F in Jikes 
build.compiler.fulldepend=false
# -nowarn in Jikes 
build.compiler.warnings=true
# +P in Jikes 
build.compiler.pedantic=true
#build.compiler.pedantic=false

That should be it.  To commmand line compile (and test)
just type 'jikes' on the command line insteac of 'javac'

Let me know if you have any problems.

bk

Reply via email to