jProlog and RedHat Linux 8.0



I did an interesting experiment on my RedHat Linux 8.0

1. I downloaded the source java files for jProlog from http://www.cs.kuleuven.ac.be/~bmd/PrologInJava/

2. I recompiled the source java files using Java 1.5 as the original class files had been compiled using Java 1.0.2. I used the following bash script:
for i in *.java
do
javac -classpath . $i
done


3. Using gcj, I compiled the class files into a standalone native code Prolog. The command line to do this was:
gcj -classpath . *.class --main=Prolog -o Prolog


Now I have a standalone Prolog interpreter that I can modify because I have the source code in java!

Just posting this in case anyone else is interested.

Randy Hootman KG6QQV
www.modoro.com
.



Relevant Pages