Hello all,
I have problem to resolve this error. Please help me how I can give java library path.
the error is as follows:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jsmile in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at smile.Wrapper.<clinit>(Wrapper.java:28)
at Practice.SmileApp1.CreateNetwork(SmileApp.java:20)
at Practice.SmileApp.main(SmileApp.java:260)
jSMILE API for GeNIe
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: jSMILE API for GeNIe
That may depend on OS and/or application server (if any is used).Anny wrote:Please help me how I can give java library path.
Re: jSMILE API for GeNIe
Hi all,
I have the same question below, and I found no one revolved then.Could someone help me to resolve now? By the way, My operating system is Mac .
Thanks!
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jsmile in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at smile.Wrapper.<clinit>(Wrapper.java:28)
at Net.main(Net.java:6)
I have the same question below, and I found no one revolved then.Could someone help me to resolve now? By the way, My operating system is Mac .
Thanks!
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jsmile in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at smile.Wrapper.<clinit>(Wrapper.java:28)
at Net.main(Net.java:6)
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: jSMILE API for GeNIe
On OSX you'll need to add -Djava.library.path=<directory where libjsmile.jnilib is located> to java's command line.lir24 wrote:My operating system is Mac.
Re: jSMILE API for GeNIe
Thank you for your help, but I've done this in my terminal, but it said like this:shooltz wrote:On OSX you'll need to add -Djava.library.path=<directory where libjsmile.jnilib is located> to java's command line.lir24 wrote:My operating system is Mac.
RentekiMacBook-Pro:~ lir24$ -Djava.library.path=/Users/lir24/Desktop/jsmile_macosx
-bash: -Djava.library.path=/Users/lir24/Desktop/jsmile_macosx: No such file or directory
Should I go to the java directory and add this command line? or some other problems? thanks~
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: jSMILE API for GeNIe
The -D option should be added as one of the java's executable parameters. Are you launching your program from the command line or from some IDE?