Add support for OpenJDK 10 for EV3 Brick
jabrena opened this issue · 1 comments
jabrena commented
It is necessary to upgrade the module java.sh
to allow Install OpenJDK 10 for EV3:
https://github.com/ev3dev-lang-java/openjdk-ev3/releases
https://github.com/ev3dev-lang-java/openjdk-ev3/releases/tag/v0.4.5
currently the function wait Oracle JRE 8 stored on /home/robot:
function installJavaForEV3(){
if [ -e "/home/robot/ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.tar.gz" ]; then
tar -zxvf "/home/robot/ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.tar.gz" -C /opt
update-alternatives --install /usr/bin/java java /opt/ejdk1.8.0/linux_arm_sflt/jre/bin/java 1
java -version
else
echo "Sorry, the installer didn´t detect ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.tar.gz"
echo "on /home/robot"
echo "try to copy the file again to the EV3 Brick."
echo
exit 1
fi
}
but it is necessary to upgrade this function to download in an automated way latest JRI, Java Runtime Image compiled:
https://github.com/ev3dev-lang-java/openjdk-ev3/releases/download/v0.4.5/jri10-ev3.tar.gz
jabrena commented
Resolved