Java Ship Sample

This sample illustrates calling a simple expert system from a Java GUI application.

Building the Sample

  1. Using Eclipse, open the project in the prolog directory and rebuild it, or from the command-line compile and link ship.pro into ship.xpl using acmp and alnk.
  2. Ensure the ship.xpl file must is in the java subdirectory.
  3. Using Eclipse, open the project in the java directory and rebuild it, or from the command-line compile Ship.java with javac.

Running the Sample

  1. Using Eclipse, run the Java project or from the command-line type java Ship to run the program.

Copyright ©1987-2004 Amzi! inc. All Rights Reserved. Amzi! is a registered trademark and Logic Server and e-Prolog are trademarks of Amzi! inc.