Results 1 to 1 of 1
Thread: Using prolog with java code
- 09-22-2012, 05:51 PM #1
Member
- Join Date
- Sep 2012
- Posts
- 1
- Rep Power
- 0
Using prolog with java code
Hi all,
I'm trying to use prolog language through java code with jpl interface (JPL A Java Interface to Prolog).
when i try to exec the example program from the site i get the following exception:
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\pl\bin\jpl.dll: %1 is not a valid Win32 application
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.jav a:1939)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.jav a:1864)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1854)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at jpl.JPL.loadNativeLibrary(JPL.java:100)
at jpl.fli.Prolog.<clinit>(Prolog.java:85)
at jpl.Query.open(Query.java:286)
at jpl.Util.textToTerm(Util.java:162)
at jpl.Query.Query1(Query.java:183)
at jpl.Query.<init>(Query.java:176)
at Jpl.main(Jpl.java:15)
I work on win 7 64bit OS , how can i solve this problem?
Thanks
Igor masliansky
Similar Threads
-
restarting swi-prolog from java using jpl.jar
By mailtuiday in forum New To JavaReplies: 1Last Post: 07-19-2012, 08:19 AM -
Connecting Prolog with Java
By xavi567 in forum New To JavaReplies: 3Last Post: 04-07-2012, 02:11 PM -
Using prolog at an Applet
By zegjim in forum Advanced JavaReplies: 0Last Post: 10-18-2010, 11:56 AM -
org.xml.sax.SAXParseException: Content is not allowed in prolog.
By mad_v in forum XMLReplies: 3Last Post: 02-16-2010, 05:09 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks