On 02/17/2015 10:45 AM, Javier rivas torres wrote:
> Hi
>
> Im Frank, does anyone know how make run projects on netbeans or eclipse
> in a mac os yosemite S.O. I tried everything, and any of them work, i
> feel really desesperate and i would apreciate any help. I set the
> eviroment variable, path and swi_home_dir i set the -Djava.library.path
> and i always find the same message
Dealing with this stuff is hell. One of the issues is that it is
always unclear whether the main file cannot be found or one of its
dependencies. I'd set DYLD_LIBRARY_PATH to include (besides the
default stuff) the directories holding the Java .dylib and the Prolog
.dylib directories. Verify that you can load jpl.dylib using
`otool -L /path/to/jpl.dylib`
Some people have it running on MacOS ...
Cheers --- Jan
> run:
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no jpl in
> java.library.path
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
> at java.lang.Runtime.loadLibrary0(Runtime.java:849)
> at java.lang.System.loadLibrary(System.java:1088)
> 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.<init>(Query.java:198)
> at consultasProlog.Consultas.consultaFicheroProlog(Consultas.java:19)
> at utilidades.RellenarModelo.ejecutarArchivo(RellenarModelo.java:30)
> at javaprolog.JavaProlog.main(JavaProlog.java:30)
> Java Result: 1
>
> Thanks a lot for any information.
>
> --
> You received this message because you are subscribed to the Google
> Groups "SWI-Prolog" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
swi-prolog+...@googlegroups.com
> <mailto:
swi-prolog+...@googlegroups.com>.
> Visit this group at
http://groups.google.com/group/swi-prolog.
> For more options, visit
https://groups.google.com/d/optout.