Comments (6)
Again, we cannot add this until it's released by Bellsoft. They don't have Java 19 support yet, so we cannot add it. As soon as they do, we'll add it.
We should be able to add this for GraalVM Buildpack though. Give us a few days to get that updated and released, you can then use these instructions to use GraalVM instead of Bellsoft NIK.
from bellsoft-liberica.
A couple of notes here:
- According to our vendor Bellsoft, they are not going to support Java 19 in NIK. It goes out of support in Jan 2023, so it's not really enough time. They are contemplating support for Java 20, and will definitely support Java 21 which is the next LTS. Their general strategy is to support the LTS versions, but they may support some non-LTS versions as well.
- GraalVM has experimental support for Java 19, so I added this into the GraalVM buildpack. You can use that if you want to try out Java 19.
To build with GraalVM, see these instructions.
It's basically like this though:
pb my-cool-app -b paketo-buildpacks/graalvm -b urn:cnb:builder:paketo-buildpacks/java -e BP_NATIVE_IMAGE=true -e BP_JVM_VERSION=19
Or set the buildpack list in build.gradle or pom.xml if you're using the Spring Boot Gradle/Maven build tools.
from bellsoft-liberica.
This is an upstream limitation, Bellsoft doesn't have NIK available for Java 19 at the moment. If/when they make it available, we'll add it. For the time being, you'd need to stick with Java 11 or 17 for building native image apps.
from bellsoft-liberica.
I have the same issue.
the jdk 19 is really important due to the new features such as project loom (which makes us able to use virtual threads), so please consider adding support for it
from bellsoft-liberica.
@dmikusa
thanks for all of ur effort in this matter.
could u please represent a simple pom.xml or build.gradle in gist or somewhere else? it would be very very helpful
from bellsoft-liberica.
See the maven docs, the <buildpacks>
tag is what you want. It takes a list of buildpacks. You would use the same two buildpacks I mentioned in my previous note. Example here.
from bellsoft-liberica.
Related Issues (20)
- Mismatch between JRE/JDK version and cpes+version under metadata.dependencies in v9.8.0 HOT 6
- When using jlink, we can't use --add-modules ALL-MODULE-PATH HOT 1
- github bellsoft-jre17.0.5+8-linux-amd64.tar.gz x509: certificate signed by unknown authority HOT 4
- Support JDK 20 HOT 1
- I'm waiting patiently for BP_JVM_VERSION of 20 :-) HOT 4
- gradle `bootBuildImage` fails due to paketo-buildpacks/bellsoft-liberica HOT 3
- No valid JRE available HOT 2
- Does remote debug support for bellsoft NIK? HOT 1
- Native memory tracking can't be disabled HOT 2
- The CI updater for Java 11 NIK is failing HOT 1
- Add support for `JDK_JAVA_OPTIONS` HOT 1
- Support for JVM-based apps using musl based JVM & the static stack HOT 5
- Get Error when trying to build an image from spring-boot's maven plugin in a java 21 project HOT 2
- can't download form download.bell-sw.com HOT 8
- Add Support for CRaC enabled JDK Distributions HOT 9
- Automatic Thread Count
- No builldpack.toml found in bellsoft-liberica 10.5.2 HOT 2
- Get Error when trying to build an image from a plain maven Java 21 project HOT 3
- Support JDK 22 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bellsoft-liberica.