Coder Social home page Coder Social logo

Java 22 support about paketo-arm64 HOT 3 OPEN

dashaun avatar dashaun commented on August 14, 2024 1
Java 22 support

from paketo-arm64.

Comments (3)

NotBjoggisAtAll avatar NotBjoggisAtAll commented on August 14, 2024

Bump! I also want Java 22!

from paketo-arm64.

dashaun avatar dashaun commented on August 14, 2024

I didn't plan to push any more releases, because the upstream https://github.com/paketo-buildpacks now have multi-arch support for https://github.com/paketo-buildpacks/java and https://github.com/paketo-buildpacks/java-native-image AND they already have Java 22 support!

This is my new maven config:

    <plugin>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>build-info</id>
            <goals>
              <goal>build-info</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <image>
            <builder>paketobuildpacks/builder-jammy-buildpackless-tiny</builder>
            <buildpacks>
              <buildpack>paketobuildpacks/java</buildpack>
            </buildpacks>
            <env>
              <BPL_SPRING_AOT_ENABLED>true</BPL_SPRING_AOT_ENABLED>
              <BP_JVM_CDS_ENABLED>true</BP_JVM_CDS_ENABLED>
              <BP_JVM_VERSION>22</BP_JVM_VERSION>
            </env>
          </image>
        </configuration>
      </plugin>

or

<build>
    <plugins>
      <plugin>
        <groupId>org.graalvm.buildtools</groupId>
        <artifactId>native-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>build-info</id>
            <goals>
              <goal>build-info</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <image>
            <builder>paketobuildpacks/builder-jammy-buildpackless-tiny</builder>
            <buildpacks>
              <buildpack>paketobuildpacks/java-native-image</buildpack>
            </buildpacks>
          </image>
        </configuration>
      </plugin>
    </plugins>
  </build>

Spring Boot 3.3 now has CDS support, so the JVM images startup even faster!

Take the upstream multi-arch-buildpacks for a spin. If they don't work out for you, I'll deploy a new release!

from paketo-arm64.

dashaun avatar dashaun commented on August 14, 2024

@adityasamant25 @NotBjoggisAtAll I'll leave this open, but I really want you to try the upstream buildpacks, because they work! Let me know how it goes!

from paketo-arm64.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.