What is Jikes?

Jikes is a Java compiler that compiles Java source code at amazing speeds. Jikes' speed comes from the fact that it is a Java compiler written in C++. Jikes is developed and maintained by the Jikes Open Source team.

About this distribution of Jikes...

This is a source distribution of Jikes 1.1.0 that compiles under MacOS X Developer Preview 3 for PowerPC. It is more than likely that you can just recompile it on Darwin, OSX DP2, or OSX Server and it will just work. Binaries are not compatibile between OSX Server, Darwin & MacOS X, so that is why this is a source-only release.

This port was done by Steven Bytnar (sbytnar at kagi.com). This port of Jikes for MacOS X DP3 is freeware, and lives under the same restrictions as the Jikes Open Source License. No added functionality is present. Only the necessary changes to make Jikes 1.1.0 compile under MacOS X DP3.

This distribution should be referred to as "jikes110-osxdp3-release1".

Disclaimers, legalities, license

This software is subject to the terms of the IBM Jikes Compiler License Agreement
available at the following URL: http://www.ibm.com/research/jikes. Copyright (C)
1996, 1999, International Business Machines Corporation and others. All Rights
Reserved. You must accept the terms of that agreement to use this software.

Download

Feb 29, 2000: jikes110-osxdp3-release1.tar.gz REMOVED

What else is there to do?

Port the test suite to MacOS X DP3 and verify that this Jikes binary produces proper results. Due to a hard drive crash, I am releasing the code from the last snapshot I made before the hard drive failed.

Recompiling

Simple.
cd jikes110-osxdp3-release1
make

Installation

Once compiled, you can execute the commands as follows to place Jikes into your working system.
mv jikes /usr/bin/
mv jikes.1 /usr/share/man/man1/

Using Jikes

Jikes for MacOS X DP3 is meant to be used from the "Terminal" command-line shell application. The syntax for the Jikes command can be found by executing "man jikes", or by typing "jikes" without any extra parameters.

Questions and answers

So, how do you compile Java source code in MacOS X DP3 with Jikes?
 
The same way you compiled Java source code with the Sun JDK on other platforms! Make a Jikes command line with the appropriate paths and source files, and away you go.
 
Where can I get a suitable Classes.zip file?

You can steal one from CodeWarrior, any older Sun JDK, or even MRJ's JDKClasses.zip file. You could even compile Java 2 compatible source if you use the right -classpath.
 
What pathname format does Jikes for OSXDP3 use?

Jikes for MacOS X DP3 uses the command line shell pathname format. This is the same pathname format that you would otherwise use on any other Unix host. Unix hosts use "/" to separate directory names. In other words, Jikes for OSXDP3 does not use the same pathname format as MacJikes; MacJikes uses ":"'s to separate directory names.
 
Why doesn't my source compile?

Answer: are you surrounding all of your paths that have spaces or illegal characters with " characters? Try using ' characters around paths also.
Answer: is your classpath correct?
Answer: are all of your pathnames correct?
Answer: is your output directory ("-d" option) placing .class files where you expect them to go?
 
Can I run Java 2 class files on MacOS X DP3?
Dont ask me. I haven't tried yet.

Internet Resources

Jikes for MacOS X DP2:
http://www.stg.com/employees/sbytnar/projects/MacJikes/OSXDP2.html

Jikes for MacOS X DP3:
http://www.stg.com/employees/sbytnar/projects/MacJikes/OSXDP3.html

Jikes Open Source homepage:
http://www.research.ibm.com/jikes/

MacJikes for MacOS 7.x, 8.x, and 9.x (MPW & standalone AppleScriptable):
http://www.stg.com/employees/sbytnar/projects/MacJikes/index.html

History

REMOVED: Feb 19, 2002. Included with MacOS X.

jikes110-osxdp3-release1: Feb 29, 2000. Port to DP3.

jikes106-osxdp2-release1: Dec 30, 1999. Initial port & release.