Hello,

Use following scons command
Doublecheck if you have gradle installed and JAVA_HOME is set:

Try:
scons TARGET_TRANSPORT=IP BUILD_JAVA=yes 
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 WITH_CLOUD=yes WITH_TCP=yes TEST=0 
BUILD_SAMPLE=OFF

Regards

Ondrej Tomcik :: KISTLER :: measure, analyze, inovate

From: iotivity-dev@lists.iotivity.org <iotivity-dev@lists.iotivity.org> On 
Behalf Of yonggu ha
Sent: Mittwoch, 30. Januar 2019 06:46
To: iotivity-dev@lists.iotivity.org
Subject: [dev] Hi. I have troubling building with JAVA Option


Hello. Everyone.

I have question. I'd like to ask you because there's no solution elsewhere.
Recently, I am also preparing to develop Java applications using iotivity.
It's not Android.



in iovitivity source, i use scons like below



scons TARGET_TRANSPORT=IP SECURED=0 BUILD_JAVA=ON

when the build OcfLightServer.java file,

java.util.zip.Zipexception: duplicate entry: org/



However, the following error occurs:

Google recommends that you modify the file for Android.

In the case of Java, Google doesn't know how.

I'm use java version 1.8.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10154): 
https://lists.iotivity.org/g/iotivity-dev/message/10154
Mute This Topic: https://lists.iotivity.org/mt/29591502/21656
Group Owner: iotivity-dev+ow...@lists.iotivity.org
Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to