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
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: [email protected] <[email protected]> on behalf of dspore via lists.yoctoproject.org <[email protected]>
Sent: Monday, 30 January 2023 18:14
To: [email protected]
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
Quoted 9 lines · 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
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
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 18 lines · Richard Leitner
Hi,
Quoted 12 lines · Robert Joslyn
Quoted 9 lines · 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
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
Quoted 8 lines
Quoted 1 line
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
On Wed, Feb 01, 2023 at 07:32:00PM -0800, Robert Joslyn wrote:
...
Quoted 1 line
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 <[email protected]> in on Cc. Thanks!
regards;rl
Quoted 3 lines
Thanks,
Robert
Looking forward to the patches too. Thanks for working on it!
David
-----Original Message-----
From: Richard Leitner <[email protected]>
Sent: Thursday, February 2, 2023 1:19 AM
To: Robert Joslyn <[email protected]>
Cc: [email protected]; Spore, David <[email protected]>
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:
...
Quoted 1 line
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 <[email protected]> in on Cc. Thanks!
regards;rl
Quoted 3 lines
Thanks,
Robert
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello,
Just wanted to check if there has been any progress on this.
Thanks!
David
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Spore, David via lists.yoctoproject.org
Sent: Thursday, February 2, 2023 8:02 AM
To: Richard Leitner <[email protected]>; Robert Joslyn <[email protected]>
Cc: [email protected]
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 <[email protected]>
Sent: Thursday, February 2, 2023 1:19 AM
To: Robert Joslyn <[email protected]>
Cc: [email protected]; Spore, David <[email protected]>
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:
...
Quoted 1 line
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 <[email protected]> in on Cc. Thanks!
regards;rl
Quoted 3 lines
Thanks,
Robert
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
Quoted 57 lines · David
Hello,
Just wanted to check if there has been any progress on this.
Thanks!
David
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Spore, David via lists.yoctoproject.org
Sent: Thursday, February 2, 2023 8:02 AM
To: Richard Leitner <[email protected]>; Robert Joslyn <[email protected]>
Cc: [email protected]
Subject: [EXTERNAL] Re: [yocto] Adding openjdk-11 to YoctoCAUTION: 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 <[email protected]>
Sent: Thursday, February 2, 2023 1:19 AM
To: Robert Joslyn <[email protected]>
Cc: [email protected]; Spore, David <[email protected]>
Subject: [EXTERNAL] Re: [yocto] Adding openjdk-11 to YoctoCAUTION: 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:
...
Quoted 1 line
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 <[email protected]> in on Cc. Thanks!
regards;rl
Quoted 3 lines
Thanks,
Robert-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59526): https://lists.yoctoproject.org/g/yocto/message/59526
Mute This Topic: https://lists.yoctoproject.org/mt/96632702/1348415
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi,
Quoted 2 lines · 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
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
Quoted 6 lines
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