Contents | Prev | Next | Index


Installation

Before installing Canterbury Oberon-2 for Java make sure there is a fully pre-installed Java Development Kit (1.1.x, 1.2, or later) available on the target machine.

Canterbury Oberon-2 for Java is distributed in a ZIP-file named oberon-2.zip. Copy or download this file to a temporary directory. From there unzip to the desired target directory. If you don't yet have an UNZIP utility for doing so, get one from www.winzip.com or www.pkware.com.We recommend using the name COM.webcom.mhc for the target directory. It contains among others, in reversed order, the internet domain name components for the Web site of Mill Hill & Canterbury Corporation and as such should form a unique target directory name for the installation of software products from that company.

If installing to a Win32 or OS/2 platform, the target directory should contain the following files:

obn.zip
mhc\obn.lic mhc\runtime\obn\*.obn mhc\obn\samples\*.* mhc\obn\doc\*.html mhc\obn\doc\*.gif
(compiler)
(user licence if registered)
(runtime)
(sample programs)
(documentation)

If installing to a UNIX, Linux, AIX, Solaris or MacOS platform, the target directory should contain the following files:

obn.zip
mhc/obn.lic mhc/runtime/obn/*.obn mhc/obn/samples/*.* mhc/obn/doc/*.html mhc/obn/doc/*.gif
(compiler)
(user licence if registered)
(runtime)
(sample programs)
(documentation)

Finally, some permanent values are to be added to the java.class.path system property. On most operating systems this is done by adding them to an environment variable called CLASSPATH.

Win32 or OS/2:
CLASSPATH=.\;install-directory\obn.zip;install-directory;other
Linux, Solaris, AIX or other UNIX systems:
CLASSPATH=./:install-directory/obn.zip:install-directory:other
Mac OS:
Use JBindary (part of MRJ, version 2.0 or better) with the following settings:
Command Line Panel:
Optional Parameter: Oberon-source-file -m
Class Name: mhc.obn
Redirect stdout: to a log file
Redirect stdin: none
Class Path Panel:
Add manually File: file:///install-directory/obn.zip
Add manually File: file:///
install-directory
Properties Panel:
Add: user.dir = working-directory
Other platforms:
Do whatever is needed to permanently update the java.class.path property with the 3 required values:
  working-directory
,
  install-directory
/obn.zip,
  install-directory
.

Canterbury Oberon-2 can also be run under CodeWarrier for MacOS, see statlab.uni-heidelberg.de/projects/oberon/install/Install.mhc.html for more information.


Contents | Prev | Next | Index

Canterbury Oberon-2 for Java  (Last documentation update Feb 8, 2000)
Copyright © 1998 Mill Hill & Canterbury Corporation, Ltd. All rights reserved
Please send any comments or corrections to mhc@webcom.com