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