Re: SWI-Prolog: [FATAL ERROR: Could not find system resources]
Jan Wielemaker <[email protected]> Sat, 5 Apr 2014 09:36:54 +0200
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
On 04/04/2014 07:17 PM, Edward Bamber wrote:
> Hi, I'm trying to create a bridge between java and prolog in windows to make use of the kb in java but I keep getting the error report SWI-Prolog: [FATAL ERROR: Could not find system resources]
>
> the code in the constructor creating the bridge is as follows:
>
> public LanguageProcessor(String user) { JPL.init(); Query q1 = new Query("consult", new Term [] {new Atom("GAPT.pl")}); System.out.println(q1.query() ?"Hello, " + user + "how may I help you?" : "App could not be loaded"); }
>
> and I've gotten past an unexpected link exception by moving the contents of swipl/bin to the directory with my jre
> my program is accessing the jpl.jar file, and I've got the jpl.pl file in numerous places (including in swipl/library and in the project file itself)
> do you have any idea what's wrong?
http://www.swi-prolog.org/FAQ/FindResources.txt
Cheers --- Jan
> -------------- next part --------------
> HTML attachment scrubbed and removed
> _______________________________________________
> SWI-Prolog mailing list
> [email protected]
> https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog
>