Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add support for OpenJDK 10 for EV3 Brick #7

Copy link
Copy link
@jabrena

Description

@jabrena
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.