Contents | Prev | Next | Index


Installation

Before installing Canterbury Pascal 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 Pascal for Java is distributed in a ZIP-file named pascal.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:

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

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


Contents | Prev | Next | Index

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