Skip to content

[go-migration] [SAPMachine JRE] Configuring SAPMachine JRE in manifest.yml not possible (falling back to OpenJDK JRE) #1131

Closed

Description

@ivzhelev

For an app to use SAPMachine JRE, its manifest.yml should just contain:

...
env:
    JBP_CONFIG_COMPONENTS: '{jres: ["JavaBuildpack::Jre::SapMachineJRE"]}'
    JBP_CONFIG_SAP_MACHINE_JRE: '{ jre: { version: 17.+ }}'

so then the app would be staged with it:

...   
-----> Downloading Sap Machine JRE 17.0.17_0.0.b0 from https://github.com/SAP/SapMachine/releases/download/sapmachine-17.0.17/sapmachine-jre-17.0.17_linux-x64_bin.tar.gz (1.6s)
   Expanding Sap Machine JRE to .java-buildpack/sap_machine_jre (0.9s)
...

However this no longer works with the go-migration branch but it falls back to Open JDK JRE:

...   
   Detected container: Spring Boot
   Selected JRE: OpenJDK
   -----> Installing OpenJDK JRE
   Installing OpenJDK 17.0.13
   -----> Installing openjdk 17.0.13
   Download [https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jre_x64_linux_hotspot_17.0.13_11.tar.gz]
   Detected Java major version: 17
...

Activity

  1. ramonskie commented on Dec 15, 2025

    @ramonskie
    Contributor

    fixed with 8042391

  2. ivzhelev commented on Dec 16, 2025

    @ivzhelev
    ContributorAuthor

    confirming it's correctly working now, thanks for fixing

  3. added a commit that references this issue on Jan 17, 2026
    c9d6006
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions