Re: JPL error
Sergio Castro <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
Hi Jerry, May it be that when you changed the SWI version the jpl native library is not anymore in your path ? I am not a Windows user, but it seems to me that libjpl.dll (or whatever it is called in Windows) should be in either your PATH environment variable or you should start Java specifying its location with the "java.library.path" parameter, like: java -Djava.library.path="the_jpl_path"Can you verify that you are still pointing to the right location of this variable in your new swi installation ? cheers, Sergio >________________________________ > De : Jerry <[email protected]> >À : swipl <[email protected]> >Envoyé le : Mercredi 31 juillet 2013 21h59 >Objet : [SWIPL] JPL error > > >There may be a problem with JPL in the current stable release. I have been >successfully using JPL since early July. Today, I uninstalled the 64 bit >windows version and reinstalled it as I was trying to determine if I had a >good compiled version of my application. At this point my application was >no longer able to initialize java. I have a compiled version from earlier >today that works. That was compiled with a 64 bit prolog version that I >downloaded earlier this month. I can run the earlier compiled version and >then go to the jpl examples from the packages directory which do not run. >That implies all the environment variables are pointing to the right places. > >Here is the error I am getting: > >ERROR: c:/program files/swipl/library/jpl.pl:4637: > '$open_shared_object'/3: The specified module could not be found. >ERROR: c:/program files/swipl/doc/packages/examples/jpl/prolog/ >jpl_versions_demo.pl:1: > Exported procedure jpl:jpl_c_lib_version/1 is not defined >% library(jpl) compiled into jpl 0.05 sec, 2,232 clauses >ERROR: c:/program files/swipl/doc/packages/examples/jpl/prolog/ >jpl_versions_demo.pl:22: > jpl:jFindClass/2: Undefined procedure: jpl:jni_func/3 >Warning: c:/program files/swipl/doc/packages/examples/jpl/prolog/ >jpl_versions_demo.pl:22: > Goal (directive) failed: user:jpl_versions_demo >% c:/Program Files/swipl/doc/packages/examples/jpl/prolog/ >jpl_versions_demo.pl compiled 0.05 sec, 2,238 clauses >I also get a popup stating that jvm.dll cannot be found. As stated, the >earlier compiled version runs fine. I looked for earlier versions of 64 bit >windows and the earliest I saw was from July 24th. I tried that one and got >the same error. > >Any ideas? >Thanks! > >Jerry >-------------- next part -------------- >HTML attachment scrubbed and removed >_______________________________________________ >SWI-Prolog mailing list >[email protected] >https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog > > > -------------- next part -------------- HTML attachment scrubbed and removed