SWI-Prolog: [FATAL ERROR: Could not find system resources]

Edward Bamber <[email protected]> Fri, 4 Apr 2014 19:17:06 +0200
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
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? 		 	   		  
-------------- next part --------------
HTML attachment scrubbed and removed