Hi,
I am new to Iotivity and recently started experimenting with java API.
I built the Java API using the following command on IoTivity 1.3 release:
scons WITH_TCP=yes RELEASE=yes TARGET_TRANSPORT=IP SECURED=1 BUILD_JAVA=1
BUILD_SAMPLES=ON TARGET_ARCH=x86_64 WITH_CLOUD=yes JAVA_HOME=$JAVA_HOME
I translated the C example using Access Control List to Java and executed the
Server. This gave me the following exception:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no oc_logger in
java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.iotivity.base.OcPlatform.<clinit>(OcPlatform.java:39)
at test.App.createLEDResource(App.java:63)
at test.App.main(App.java:33)
Is this a known bug or am I doing something wrong?
Best Regards
Suleman
_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev