|
Prolog+CG 2.0
|
Our generous host: 
|
Installation prerequisites
You need a version of Java 1.4 or
1.5 to run Prolog+CG 2.0.
Installation instructions
Download the latest ZIP file.
Unpack it anywhere on your harddrive using a ZIP program such
as UltimateZIP or InfoZIP. Both are excellent
freeware programs.
-
If on Windows: Edit the
start.bat file to contain the path to the
Java 1.4/1.5 executable (see
below). Then double-click on start.bat to start the
program.
If on Unix/MacOS: Create a shell
script of shortcut which contains the command line:
/substitute/the/right/path/to/java-binary/java -cp . PrologPlusCG/PrologPlusCG
The current working directory should be the root of the
contents of the ZIP file (i.e., PPCG/)
On Windows, a start.bat template file is provided in the
distribution. You must edit this so that it includes the path to the
Java 1.4/1.5 java.exe executable.
Locate the java.exe executable. If you are unsure of where
it is, search for it using Windows Explorer. Note that some
versions of Internet Explorer contains a java.exe executable, but
this cannot be used. Your java.exe must be
specific to Java 1.4/1.5.
Right-click the start.bat file in the root of the
distribution (i.e., PPCG\).
Select "Edit". Notepad or similar will pop up.
The line to edit is:
java.exe -cp . PrologPlusCG/PrologPlusCG
For example, if the path to java.exe is:
C:\j2sdk\bin\java.exe
Then the line in start.bat must read:
C:\j2sdk\bin\java.exe -cp . PrologPlusCG/PrologPlusCG
|