Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposition of improvement: provide extra package for jre-native and jdk, jdk-native #56

Open
GeVa2072 opened this issue Nov 26, 2024 · 2 comments

Comments

@GeVa2072
Copy link
Contributor

Hi @sebveit,

Does providing extra package on the bases of pre build version for jre-native, jdk or jdk-native as some interest ?

For my work, i made a openjdk-21-jdk-native to allow my host to build some java class.

I can make pull request if you see some interest to provide this package on your layers.

Creating a openjdk-xx.inc and some bb file to make jre, jre-native, jdk, jdk-native where only sha256 will change in fact.

@GeVa2072
Copy link
Contributor Author

I use as hosts build server the crops/yocto docker image, it’s base on debian-12, and package provided java version stop on 17.

@sebveit
Copy link
Contributor

sebveit commented Nov 27, 2024

Hi @GeVa2072,

there are various approaches on how to build Java projects.

Right now, you need to build your app with Ant, Gradle or Maven and copy the resulting files into your build environment.

It might be a good idea to provide native JDKs, to enable the compilation of Java classes inside the build environment.

Therefore I'm open for your idea and your PR on that context, but I don't think we need native JREs.

Please submit a PR and I'll take a look at it. Thank you!

GeVa2072 added a commit to GeVa2072/meta-openjdk-temurin that referenced this issue Nov 28, 2024
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

No branches or pull requests

2 participants