Compile error for bluecove-gpl-2.1.0 on armhf Raspbian Java 11.0.3

50 views
Skip to first unread message

Oth

unread,
Mar 18, 2020, 8:36:23 AM3/18/20
to bluecove-users
Hello,
I am trying to compile bluecove for our schools raspberry pi 4 computers. We want to use Bluecove to connect our old Lego NXT to the raspberry pis via bluetooth.


I have the following java version:

openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-post-Raspbian-5)
OpenJDK Server VM (build 11.0.3+7-post-Raspbian-5, mixed mode)


when running ant all  I get the following error message.

ant all
Buildfile: /tmp/bluecove-gpl-2.1.0/build.xml

clean:
   [delete] Deleting directory /tmp/bluecove-gpl-2.1.0/target

init-native:
    [mkdir] Created dir: /tmp/bluecove-gpl-2.1.0/target/classes
    [mkdir] Created dir: /tmp/bluecove-gpl-2.1.0/target/native
     [echo] java.home /usr/lib/jvm/java-11-openjdk-armhf

verify-java-home:

verify-cruisecontrol:

init:

verify-bluecove-main-exists:

compile:
     [echo] compiling on java 11.0.3
    [javac] /tmp/bluecove-gpl-2.1.0/build.xml:87: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 3 source files to /tmp/bluecove-gpl-2.1.0/target/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 6
    [javac] warning: [options] source value 6 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] Note: /tmp/bluecove-gpl-2.1.0/src/main/java/com/intel/bluetooth/BluetoothStackBlueZ.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: /tmp/bluecove-gpl-2.1.0/src/main/java/com/intel/bluetooth/BluetoothStackBlueZ.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 4 warnings

jni-headers:
     [echo] create JNI headers using java.home /usr/lib/jvm/java-11-openjdk-armhf

BUILD FAILED
/tmp/bluecove-gpl-2.1.0/build.xml:99: javah does not exist under Java 10 and higher, use the javac task with nativeHeaderDir instead

Total time: 12 seconds



Can anyone help solve this issue? How do I have to change the build.xml?

Thanks and best regards
Reply all
Reply to author
Forward
Message has been deleted
0 new messages