|
Before installing Canterbury
Pascal for JVM, make sure there is a fully pre-installed
Java SE Development Kit (Version 5 or later)
available on the target machine.
Canterbury Pascal for JVM is distributed in a ZIP-file named pascal3.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, in reversed order, the Internet domain name components
for the Web site of MHCCORP.COM 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:
pas3.zip mhc\compiler\pas.lic mhc\compiler\runtime\pas\*.pas mhc\pas\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:
pas3.zip mhc/compiler/pas.lic mhc/compiler/runtime/pas/*.pas mhc/pas/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>\pas3.zip;<install-directory>;<other>
- Linux, Solaris, AIX or other UNIX systems:
- CLASSPATH=./:<install-directory>/pas3.zip:<install-directory>:<other>
- Other platforms:
- Do whatever is needed to
permanently update the java.class.path property
with the 3 required values:
<working-directory>,
<install-directory>/pas3.zip
<install-directory>
Example: If, on a Windows XP
machine, Pascal has been installed to a directory at "c:\stuff", and there
is a pre-installed JDK 5 at "c:\jdk1.5.0_11", then CLASSPATH must
have the following values:
CLASSPATH=.\;c:\stuff\pas3.zip;c:\stuff;c:\jdk1.5.0_11\jre\lib\rt.jar;
|