TieFighter
Baseband Member
- Messages
- 57
- Location
- La Crosse, WI
JPL is a library that comes with SWI Prolog, which is supposed to be able to give Java an interface to Prolog. I seem to have it installed and running for my windows XP machine (using a provided run.bat file it will compile the example programs and run them correctly). However, when trying to integrate JPL into a project that I am working on in Eclipse, the jpl.Query term cannot be found. JPL IS ABLE to be imported as a class - and I've noted in the example code jpl.Query should also be imported, and have done likewise.
The specific error in Eclipse is:
The specific error in Eclipse is:
this shows up wherever I try to create a new Query and where I try to import it. If anyone knows why Eclipse may be giving this error, please helpAccess restriction: The constructor Query(String) is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\rt.jar