Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java and Prolog - Interprolog

I am currently trying to set up interprolog(see http://www.declarativa.com/interprolog/) and i've followed the steps on the site, but now I'm wondering how i can use interprologs classes from my eclipse ide? Do i need to import the classes into my project so i can use interprolog?? How can i go about doing so?

Thanks

like image 566
KP65 Avatar asked Jun 01 '26 01:06

KP65


1 Answers

Have you tried adding interprolog.jar to the build path (located inside http://www.declarativa.com/interprolog/interprolog212.zip)?

In Eclipse you accomplish this by:

  1. Right click you project, select Properties
  2. Choose Java build path in the left side view
  3. Select the Libraries tab
  4. Click Add External Jar... and locate the interprolog.jar file.

Now you should be able to use the API, for example by typing new TermListModel and have Eclipse add the import com.declarativa.interprolog.gui.TermListModel for you.

like image 118
Mads Mobæk Avatar answered Jun 03 '26 16:06

Mads Mobæk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!