Last edited on 20th April, 2004 gs
. - Host home page: StatLab
Oberon Installation Hints:
Canterbury Oberon-2 for Java.
We are providing installation information which was helpful to us. This
may be outdated the time you read it. But if it is still helpful to you,
we are happy. Comments/corrections are welcome.
Installing System 3Installing
ItO (German) Installing S3 for Win 3x
Canterbury Oberon-2 for Java is an Oberon to Jave converter. The Oberon
implementations follows the Oakwood Guidelines.
To use Canterbury Oberon-2 for Java, you need a fully pre-installed
Java development kit.
A time limited evaluation copy is available from
Hill & Canterbury Corporation, Ltd..
Windows 32, OS/2 or UNIX
To use Canterbury Oberon-2 with Windows 32, OS/2 or UNIX, follow the installation
instructions on the Canterbury home page.
To use Canterbury Oberon-2 with MacOS, install the Mac OS Runtime for Java
(MRJ) environment. You can download the most recent version of MRJ (version
2.0 or better) for the Apple
Java Web page. To run Canterbury Oberon-2 in this environment, use
Apple's JBindery which is included in MRJ or Metrowerk's Code Warrior.
Set the class paths in JBindary. Make sure you have added all relevant
path directories. If in doubt, add all directories and subdirectories in
the mhc distribution, and add the file obn.zip. Unfortunately JBindary
shows only the trailing name component. Make sure you include the paths
in appropriate order, as in this example:
Set a preferred output path. Since the console window is closed automatically,
you may want to keep a log file (e.g. mhc.log) and append output to this
Enter the command mhc.obn and store these settings. The stored settings
can be used as a convenient re-entry point.
Make sure the source path (working path) is in the class path list. Add
it, if not.
Add the compiler parameters (e.g. "Slides -m") as optional parameters and
Inspect the output log. If you are happy, use your preferred Java compiler
to compile the generated Java source code. With Metrowerks, you need to inlude the MHC runtime modules in your project first.
Additional hints for MRJ/JBindary
There is no CLASSPATH in JBindary. Instead, JBindary always adds the default
library to the search list.
When running under JBindary, the apllication path is set to that of JBindary,
not the application launched by JBindary.
If you need long file names longer than 31 characters, you can bypass the
MacOS limitationes by storing the files in a .zip or .jar archive.