Closed manuprendlair closed 5 years ago
Humm...
pi@raspberrypi:~/signalk-java $ mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
Maven home: /opt/apache-maven-3.3.9
Java version: 1.7.0_111, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-armhf/jre
Default locale: fr_FR, platform encoding: UTF-8
OS name: "linux", version: "4.4.38-v7+", arch: "arm", family: "unix"
So maven setting is wrong somewhere...
well, it look like that it's need to set the JAVA_HOME path in .bashrc file... Like that:
export JAVA_HOME="/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt"
export PATH=$PATH:$JAVA_HOME/bin
I don't understand why it's necessary while sudo update-alternatives --config java is correctly set and java -version confirm the nice version... what specialist thinks about that?
The Return!
I use these instructions : https://github.com/signalk/specification/wiki/Raspberry-Pi-Installation-(Java-Server)
look the output:
but:
So what's wrong, 'cause it look like I have the right SDK version...?