Update available

Jikes 1.1.0 source is available on the Jikes for MacOS X DP3 page.

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...

The binary included with this distribution is Jikes 1.0.6, compiled for MacOS X Developer Preview 2 for PowerPC, with optimization level 2 using OSX DP2's C++ compiler. It is possible that this binary will work with Apple's Darwin and Apple's MacOS X Server operating systems, but I did not try it. It is possible that libc dependencies will cause it to not load on those systems.

This port was done by Steven Bytnar (sbytnar at kagi.com) My Jikes port for OS X DP2 is freeware. The source code patches that made this port possible will eventually trickle into the Jikes Open Source repository. The source modifications done to jikes106.tar are only ones which allow the source to compile on OSXDP2. No added functionality is present.

This distribution should be referred to as "jikes106-osxdp2-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

Dec 30, 1999: jikes106-osxdp2-release1.tar.gz REMOVED

What else is there to do?

Port the test suite to MacOS X DP2 and verify that this Jikes binary produces proper results.

Installation

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 DP2 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 DP2 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 OSXDP2 use?

Jikes for MacOS X DP2 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 OSXDP2 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 DP2?
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 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.

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