Contents | Prev | Next | Index


Installation

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

Canterbury Oberon-2 for JVM is distributed in a ZIP-file named oberon23.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.mhccorp 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:

obn3.zip
mhc\compiler\obn.lic mhc\compiler\runtime\obn\*.obn mhc\obn\samples\*.* mhc\compiler\doc\*.html mhc\compiler\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:

obn3.zip
mhc/compiler/obn.lic mhc/compiler/runtime/obn/*.obn mhc/obn/samples/*.* mhc/compiler/doc/*.html mhc/compiler/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>\obn3.zip;<install-directory>;<other>
Linux, Solaris, AIX or other UNIX systems:
CLASSPATH=./:<install-directory>/obn3.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.compiler.obn
Redirect stdout: <to a log file>
Redirect stdin:
<none>
Class Path Panel:
Add manually File: file:///<install-directory>/obn3.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>/obn3.zip
,
 
<install-directory>
.

Example: If, on a Windows-95/98 machine, Oberon-2 has been installed to a directory at "c:\stuff", and there is a pre-installed Java-2 SDK 1.2 at "c:\jdk1.2", then CLASSPATH must have the following values:

CLASSPATH=.\;c:\stuff\obn3.zip;c:\stuff;c:\jdk1.2\jre\lib\rt.jar;


Contents | Prev | Next | Index

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