Skip to content

Conversation

@Redstoneguy129
Copy link

This adds support for building JDK 17 for the EV3.
A few issues must be known:

  • The builds themself fail.
  • The issue i believe has to do with sources that have been moved or discontinued.
  • The jdk source i have put links to an old Adoptium CI job that worked in the past. All newer jobs fail relating to my 2nd issue.
  • The .patch file contribution i believe i have not worked on it well as there isn't a way to test it.

Currently to get the JDK 17 onto the EV3 i run this via ssh.

wget https://ci.adoptium.net/job/eljbuild/job/${DEBIAN_DISTRO}-bleeding/84/artifact/build/jdk-ev3.tar.gz

Unpackage it, then set java path.

This will give you a working JDK 17-ev3-unreleased.
It would be great it we can get this build working again allowing us to support even newer versions of Java.

@Redstoneguy129
Copy link
Author

@Redstoneguy129
Copy link
Author

Last successful build being 2 years, 9 months ago.
https://ci.adoptium.net/job/eljbuild/

@Redstoneguy129 Redstoneguy129 marked this pull request as draft March 11, 2024 19:50
@Redstoneguy129
Copy link
Author

Turned into Draft as this needs contributions made before it's production ready

@Redstoneguy129
Copy link
Author

If you wish to contact me for easier communication my email is displayed on my github, if you would prefer my Discord the username is same as my Github username.

@jabrena
Copy link
Member

jabrena commented Mar 11, 2024

I will reach you tomorrow for sure!

@jabrena jabrena self-requested a review March 12, 2024 09:41
@jabrena
Copy link
Member

jabrena commented Sep 22, 2025

I need more people involved in this development

@jabrena
Copy link
Member

jabrena commented Sep 22, 2025

Who want to participate?

@Project516
Copy link

Id like to help any way i can!

@jabrena
Copy link
Member

jabrena commented Sep 23, 2025

@Project516, many thanks for the feedback, at least it is necessary to have 2 team members to maintain this repository. I am not sure if @Redstoneguy129 could participate. This repository would need few upgrades every 6 months as 6 months is the Java build cadence.

@Redstoneguy129
Copy link
Author

Redstoneguy129 commented Sep 25, 2025

I am no longer at the university so I have no access to an EV3.
I have forwarded your reply to a few people i know who might be interested.

@jabrena
Copy link
Member

jabrena commented Sep 29, 2025

Hi @Redstoneguy129, many thanks for to forward if exist few people interesting to maintain the build of OpenJDK for ARM5 it could be great, not so much hours every 6 months.

@Project516
Copy link

  • The issue i believe has to do with sources that have been moved or discontinued.

@Redstoneguy129 I had this issue too, for some reason when I installed the packages in smaller chunks it worked.

@@ -1,4 +1,8 @@
deb http://httpredir.debian.org/debian buster main contrib non-free

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need to be changed to archive.debian.org

@@ -1,4 +1,2 @@
deb http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb http://deb.debian.org/debian-security stretch/updates main contrib non-free

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn’t need to be deleted, as archive.debian.org has security updates too.

@@ -1,4 +1,4 @@
ARG DEBIAN_RELEASE=stretch
ARG DEBIAN_RELEASE=buster

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will stretch not be supported?


# setup repositories and install required packages
COPY sources.list.$DEBIAN_RELEASE /etc/apt/sources.list
#COPY sources.list.$DEBIAN_RELEASE /etc/apt/sources.list

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this committed out?

JRI_MODULES="java.se,jdk.jdwp.agent,jdk.unsupported,jdk.management.agent,jdk.jartool,jdk.crypto.ec"

JTREG="$BUILDDIR/jtreg"
JTREG_URL="https://ci.adoptopenjdk.net/view/Dependencies/job/jtreg/lastSuccessfulBuild/artifact/jtreg-4.2.0-tip.tar.gz"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been moved to https://github.com/openjdk/jtreg

@jabrena
Copy link
Member

jabrena commented Oct 1, 2025

Hi @Project516, I suggest to put focus on the build with Github Actions if you are interested to collaborate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants