"gunzip bp40_solaris.tar.gz | tar xfv -"
set path = ($path $HOME/BProlog)such that you can start B-Prolog from everywhere.
If the system is installed in a directory rather than "$HOME/BProlog", then you have to reset the environment variable "BPDIR" in the shell file "bp" to this directory.
"gunzip bp40_unix.tar.gz | tar xfv -"
set path = ($path $HOME/BProlog)such that you can start B-Prolog from everywhere.
If the system is installed in a directory rather than "$HOME/BProlog", then you have to reset the environment variable "BPDIR" in the shell file "bp" to this directory.
path = %path%; C:\BPrologsuch that you can start B-Prolog from everywhere.
To use the Java interface, one has to ensure that the environment variables BPDIR, CLASSPATH, and PATH (Windows) or LD_LIBRARY_PATH (Solaris) are set correctly. For a Windows PC, add the following settings to the file "c:\autoexec.bat":
set JAVA_HOME=c:\jdk1.1.5 set BPDIR=c:\BProlog set PATH=%BPDIR%;%PATH% set classpath=.;%BPDIR%\plc.jar;%JAVA_HOME%\lib\classes.zipand for a Solaris machine, add the following settings to the file ".cshrc".
set JAVA_HOME=/usr/local/java set BPDIR=$HOME/BProlog set LD_LIBRARY_PATH=$LD_LIBRARY_PATH;$BPDIR set CLASSPATH=.;$BPDIR/plc.jar;$JAVA_HOME/lib/classes.zipAppropriate values must be assigned to the variables depending on where Java and B-Prolog are installed. The archive file "plc.jar" in the directory $BPDIR (or %BPDIR%) stores the byte code for the class "bprolog.plc.Plc" that implements the Java interface, and the file "libbp.so" ("bp.dll") in the same directory is a dynamic link file that stores B-Prolog's emulator.