> AOCR > Web Version

aocr-2.0 Utility Guide

2. Installation and start

2.1. Installation

  • Microsoft Windows

Unpack the distribution, which is a zip archive and should have a name with a .zip suffix (for example aocrUP.zip), with the pkzip data compression tool. For Windows XP it is enough to double click the icon. If you have to use pkzip on the command line, enter
C:dir>pkzip -d zip archive
on a coomand tool prompt, where dir is the installation directory.

The Java interpreter, which is part of Sun's Java SDK, is needed to run the application. The Java interpreter is already included in the Java environment offered with Windows XP. If you need to install it, you can start from this Java Site to download Sun's Java distribution.

With Windows 2000/XP the application cmd.exe (located for Windows XP under C:\windows\system32) needs to be copied to the location C:\ and renamed Command.com. This step is necessary for the Computation Tool to work. The file cmd.exe should only be copied. It should not be moved or removed from its original location.

  • Linux and Sun Solaris

Assuming you chose the name install.sh for the downloaded distribution run the following command line from its location:

$ chmod 755 install.sh; ./install.sh
All files and directories in the distribution are extracted at the location of install.sh.

The Java interpreter, which is part of Sun's JAVA SDK, is needed to run the application. If it is missing, start from this Java site to download it.

2.2. Starting the Utility

  • Microsoft Windows

After the installation, aocr-2.0 becomes somewhere in your file system the installation base directory. The aocr-2.0Utility is started by changing directory to the directory bin below the installation base directory and running (double-clicking on the icon) the two batch programs
aocrComposer
aocrComputation
Alternatively the application can be started in one time by double-clicking on the icon
aocrUtility
The location of the Java interpreter java should be in the PATH search string or these two batch scripts need to be edited (for example with WordPad or NotePad) and the java command modified.

  • Linux and Sun Solaris

After the installation, aocr-2.0 becomes somewhere in your file system the installation base directory. The aocr-2.0 Utility is started by changing directory to the directory bin below the installation base directory and running the Java interpreter with the class aocrWins specified:
$ java aocrWins&
It is important that the current directory . is a path in the shell search string or that the executables gdrv61, redraw and checkrule in the directory bin are put in a location belonging to the search string.