Adding openjdk-11 to Yocto


Richard Leitner
 

Hi,

On Mon, Mar 27, 2023 at 08:13:38PM -0700, Robert Joslyn wrote:
I did send a patch back in February, but never got a response from Richard L:
https://lists.openembedded.org/g/openembedded-devel/message/100934
Sorry, I've seen the patch and the discussion on it, but I'm currently
very busy with other things. I hope I get some time for this topic
within the next 2 weeks.

I'll come back to you as soon I have done some review.

regards;rl


I’d still like to see it merged, but understand if it’s not what’s wanted in meta-java. I can certainly resend or make changes if desired.

Thanks,
Robert


Robert Joslyn
 

I did send a patch back in February, but never got a response from Richard L:
https://lists.openembedded.org/g/openembedded-devel/message/100934

I’d still like to see it merged, but understand if it’s not what’s wanted in meta-java. I can certainly resend or make changes if desired.

Thanks,
Robert

On Mar 27, 2023, at 6:13 AM, Spore, David <dspore@...> wrote:

Hello,

Just wanted to check if there has been any progress on this.

Thanks!

David


-----Original Message-----
From: yocto@... <yocto@...> On Behalf Of Spore, David via lists.yoctoproject.org
Sent: Thursday, February 2, 2023 8:02 AM
To: Richard Leitner <dev@...>; Robert Joslyn <robert.joslyn@...>
Cc: yocto@...
Subject: [EXTERNAL] Re: [yocto] Adding openjdk-11 to Yocto

CAUTION: This email originated from outside of Parraid. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Looking forward to the patches too. Thanks for working on it!

David


-----Original Message-----
From: Richard Leitner <dev@...>
Sent: Thursday, February 2, 2023 1:19 AM
To: Robert Joslyn <robert.joslyn@...>
Cc: yocto@...; Spore, David <DSpore@...>
Subject: [EXTERNAL] Re: [yocto] Adding openjdk-11 to Yocto

CAUTION: This email originated from outside of Parraid. Do not click links or open attachments unless you recognize the sender and know the content is safe.

On Wed, Feb 01, 2023 at 07:32:00PM -0800, Robert Joslyn wrote:

...

Sure, I can expand the recipe for additional architectures. A quick look at the other downloads shows they have builds for x86, x86-64, arm, aarch64, ppc64, sparcv9 and s390x. I don’t think Yocto supports sparc or s390, but accommodating the others should be straightforward. I should be able to get the time to put a patch together later this week.
Sounds great! Looking forward to your patches.

Please ensure this mail address <dev@...> in on Cc. Thanks!

regards;rl


Thanks,
Robert


Spore, David
 

Hello,

Just wanted to check if there has been any progress on this.

Thanks!

David

-----Original Message-----
From: yocto@... <yocto@...> On Behalf Of Spore, David via lists.yoctoproject.org
Sent: Thursday, February 2, 2023 8:02 AM
To: Richard Leitner <dev@...>; Robert Joslyn <robert.joslyn@...>
Cc: yocto@...
Subject: [EXTERNAL] Re: [yocto] Adding openjdk-11 to Yocto

CAUTION: This email originated from outside of Parraid. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Looking forward to the patches too. Thanks for working on it!

David


-----Original Message-----
From: Richard Leitner <dev@...>
Sent: Thursday, February 2, 2023 1:19 AM
To: Robert Joslyn <robert.joslyn@...>
Cc: yocto@...; Spore, David <DSpore@...>
Subject: [EXTERNAL] Re: [yocto] Adding openjdk-11 to Yocto

CAUTION: This email originated from outside of Parraid. Do not click links or open attachments unless you recognize the sender and know the content is safe.

On Wed, Feb 01, 2023 at 07:32:00PM -0800, Robert Joslyn wrote:

...

Sure, I can expand the recipe for additional architectures. A quick look at the other downloads shows they have builds for x86, x86-64, arm, aarch64, ppc64, sparcv9 and s390x. I don’t think Yocto supports sparc or s390, but accommodating the others should be straightforward. I should be able to get the time to put a patch together later this week.
Sounds great! Looking forward to your patches.

Please ensure this mail address <dev@...> in on Cc. Thanks!

regards;rl


Thanks,
Robert


Spore, David
 

Looking forward to the patches too. Thanks for working on it!

David

-----Original Message-----
From: Richard Leitner <dev@...>
Sent: Thursday, February 2, 2023 1:19 AM
To: Robert Joslyn <robert.joslyn@...>
Cc: yocto@...; Spore, David <DSpore@...>
Subject: [EXTERNAL] Re: [yocto] Adding openjdk-11 to Yocto

CAUTION: This email originated from outside of Parraid. Do not click links or open attachments unless you recognize the sender and know the content is safe.

On Wed, Feb 01, 2023 at 07:32:00PM -0800, Robert Joslyn wrote:

...

Sure, I can expand the recipe for additional architectures. A quick look at the other downloads shows they have builds for x86, x86-64, arm, aarch64, ppc64, sparcv9 and s390x. I don’t think Yocto supports sparc or s390, but accommodating the others should be straightforward. I should be able to get the time to put a patch together later this week.
Sounds great! Looking forward to your patches.

Please ensure this mail address <dev@...> in on Cc. Thanks!

regards;rl


Thanks,
Robert


Richard Leitner
 

On Wed, Feb 01, 2023 at 07:32:00PM -0800, Robert Joslyn wrote:

...

Sure, I can expand the recipe for additional architectures. A quick look at the other downloads shows they have builds for x86, x86-64, arm, aarch64, ppc64, sparcv9 and s390x. I don’t think Yocto supports sparc or s390, but accommodating the others should be straightforward. I should be able to get the time to put a patch together later this week.
Sounds great! Looking forward to your patches.

Please ensure this mail address <dev@...> in on Cc. Thanks!

regards;rl


Thanks,
Robert


Robert Joslyn
 

On Feb 1, 2023, at 2:26 AM, Richard Leitner <richard.leitner@...> wrote:

Hi,

On Tue, Jan 31, 2023 at 06:39:08AM -0800, Robert Joslyn wrote:

On Jan 30, 2023, at 12:27 PM, Richard Leitner <richard.leitner@...> wrote:

Hi David,
unfortunately none I'm aware of.

But if you have time to add java 11 (or newer) support to meta-java I can give support/guidance.

regards;rl
Is there any interest in adding recipes that install pre-built Java binaries to meta-java? I needed a newer Java and the easy way was to make a recipe to install the Adoptium binaries: https://github.com/bobolopolis/meta-adoptium/blob/main/recipes-core/temurin/temurin-jdk-17-bin_17.0.6%2B10.bb

This was fine for my purposes, but obviously there’s tradeoffs to using someones pre-built binary. I can send a patch to add these to meta-java if it would be useful to others.
Yes, please. That would be awesome! Looking forward to your patches.

But please make sure the recipe works for all supported architectures,
not only x86_64. Thanks!

regards;rl
Sure, I can expand the recipe for additional architectures. A quick look at the other downloads shows they have builds for x86, x86-64, arm, aarch64, ppc64, sparcv9 and s390x. I don’t think Yocto supports sparc or s390, but accommodating the others should be straightforward. I should be able to get the time to put a patch together later this week.

Thanks,
Robert


Robert Joslyn
 

On Jan 30, 2023, at 12:27 PM, Richard Leitner <richard.leitner@...> wrote:

Hi David,
unfortunately none I'm aware of.

But if you have time to add java 11 (or newer) support to meta-java I can give support/guidance.

regards;rl

Is there any interest in adding recipes that install pre-built Java binaries to meta-java? I needed a newer Java and the easy way was to make a recipe to install the Adoptium binaries: https://github.com/bobolopolis/meta-adoptium/blob/main/recipes-core/temurin/temurin-jdk-17-bin_17.0.6%2B10.bb

This was fine for my purposes, but obviously there’s tradeoffs to using someones pre-built binary. I can send a patch to add these to meta-java if it would be useful to others.

Thanks,
Robert


Richard Leitner
 

Hi David,
unfortunately none I'm aware of.

But if you have time to add java 11 (or newer) support to meta-java I can give support/guidance.

regards;rl

________________________________________
From: yocto@... <yocto@...> on behalf of dspore via lists.yoctoproject.org <dspore=parraid.com@...>
Sent: Monday, 30 January 2023 18:14
To: yocto@...
Subject: [yocto] Adding openjdk-11 to Yocto

Hello!

I am working with Kirkstone release and need to add java openjdk-11. I have a program which requires it. From what I can find, the meta-java layer only supports openjdk-7 and openjdk-8.
I've looked through various forums with no luck. Is there a recipe for openjdk-11?

Hoping somebody can help! Thanks.

David


Spore, David
 

Hello!

I am working with Kirkstone release and need to add java openjdk-11.  I have a program which requires it.  From what I can find, the meta-java layer only supports openjdk-7 and openjdk-8.
I've looked through various forums with no luck.  Is there a recipe for openjdk-11?

Hoping somebody can  help!  Thanks.

David