CS290I - Scalable Internet Services and Systems

Thorsten von Eicken - UCSB - Spring 2001

Project How-To: Jikes

Jikes is an open source java compiler from IBM: it compiles .java source files into .class bytecode. You can find extensive info on jikes at <http://oss.software.ibm.com/developerworks/opensource/jikes/>. Jikes is installed on bugatti, daimler, bentley, and lotus in /usr/local/bin. To compile, you need to define a class path. The easiest is to add the following to your environment:

CLASSPATH=.:/usr/java1.2/jre/lib/rt.jar:/usr/java1.2/lib/jsdk.jar:
          /cs290i/src/mysql-jdbc/mysql_comp.jar:
          /cs290i/src/javaGraphs/javachart/jars/kcServlet.jar:
          /cs290i/src/webmacro/webmacro.jar

In addition, to use jikes, you need to have /usr/local/lib in your linker library path so the dynamic linker can successfully load the gnu C++ library. E.g., if you use bash:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

use the setenv command for other shells.... To check if you have all the paths to all the dynamic libraries that jikes needs, type: ldd jikes so you can see if you have any unresolved libraries.


Updated 05/03/2001