Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

A custom Build of OpenJDK 9/10/11/12/13/14/15 for EV3, a Lego Mindstorms Brick using ARM Soft Float

License

NotificationsYou must be signed in to change notification settings

ev3dev-lang-java/openjdk-ev3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom build of OpenJDK providing Java support for ev3dev on the following devices:

  • LEGO Mindstorms EV3, featuring a ARM926EJ-S CPU

Builds for older boards should work on newer boards, the performance might just be a bit lower.

Build Status

OpenJDK versionPlatformTypeVMev3dev-stretchev3dev-buster
OpenJDK 9EV3x86→ARMC1 JITarchivedN/A
OpenJDK 10EV3x86→ARMC1 JITarchivedN/A
OpenJDK 11EV3ARM→ARMC1 JIT-> jenkins-> jenkins
OpenJDK 12EV3ARM→ARMC1 JIT-> jenkins-> jenkins
OpenJDK 13EV3ARM→ARMC1 JIT-> jenkins-> jenkins
OpenJDK 14EV3ARM→ARMC1 JIT-> jenkins-> jenkins
OpenJDK 15EV3ARM→ARMC1 JIT-> jenkins-> jenkins
OpenJDK tip (dev)EV3ARM→ARMC1 JIT-> jenkins-> jenkins

Overview & documentation

SeeDocs

Components

The build process produces these files:

NameFile nameSummaryWhere it runsWho is it forWhat is it useful for
JRIjri-ev3.zipMinimal runtimeBrickJava developerRunning Java programs on ev3dev.
JDKjdk-ev3.zipFull JDKBrickev3dev power userCompiling Java programs directly on the brick.
JMODsjmods-ev3.zipRuntime modulesDeveloper PCbothCreating custom JRIs.

JRI stands for "Java Runtime Image". The term itself is not specific to this project,it is equivalent toModular Run-Time Image.To see which modules are included in our case, take a look at theJRI_MODULES variable inscripts/config.sh.

Building locally

  1. InstallDocker for your operating system.
  2. Follow this script:
# define parametersTARGET_WORKSPACE="$(pwd)/build"# 10 GB of free space should be sufficient, probably lessTARGET_DEBIAN_VERSION="stretch"# stretch or busterTARGET_OPENJDK_VERSION="11"# 9, 10, 12, 13, 14 - retired, may not be working# 11, 15 - most likely working# loom or tip - experimental, may be broken# clone repositorygit clone https://github.com/ev3dev-lang-java/openjdk-ev3.gitcd openjdk-ev3# prepare working directorymkdir -p"$TARGET_WORKSPACE"chmod -R 777"$TARGET_WORKSPACE"# docker may not share UID with the current user# build base system containerdocker build --build-arg DEBIAN_RELEASE="$TARGET_DEBIAN_VERSION" \             --build-arg ARCH="armel" \             --tag"ev3dev-lang-java:jdk-cross-$TARGET_DEBIAN_VERSION" \             --file ./system/Dockerfile.cross \             ./system# on top of that, create a build scripts containerdocker build --build-arg commit="$(git rev-parse HEAD)" \             --build-arg extra="Manual build by$(whoami)" \             --build-arg DEBIAN_RELEASE="$TARGET_DEBIAN_VERSION" \             --build-arg BUILD_TYPE="cross" \             --tag"ev3dev-lang-java:jdk-cross-build" \             ./scripts# now run the builddocker run --rm \           --interactive \           --tty \           --volume"$TARGET_WORKSPACE:/build" \           --env JDKVER="$TARGET_OPENJDK_VERSION" \           --env JDKVM="client" \           --env JDKPLATFORM="ev3" \           --env JDKDEBUG="release" \           --env AUTOBUILD="1" \           ev3dev-lang-java:jdk-cross-build# finally, make workspace accessible for all users (i.e. current one too) and list files in its rootchmod -R 777"$TARGET_WORKSPACE"# and list the output directory (now it should contain three *-ev3.tar.gz files)ls"$TARGET_WORKSPACE"

About

A custom Build of OpenJDK 9/10/11/12/13/14/15 for EV3, a Lego Mindstorms Brick using ARM Soft Float

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp