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

IDE does not support JDK 17 #618

Closed
malberer opened this issue Nov 9, 2021 · 2 comments · Fixed by #630
Closed

IDE does not support JDK 17 #618

malberer opened this issue Nov 9, 2021 · 2 comments · Fixed by #630
Assignees
Labels
java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium) setup related to the setup process of devonfw-ide (setup[.bat] and devon ... setup)

Comments

@malberer
Copy link

malberer commented Nov 9, 2021

Expected behavior

As a IDE user, I want the IDE to be usable with JDK 17

Actual behavior
When configuring JAVA_VERSION=17.0.1 in devon.properties the installer tries to download
local download_url="https://github.com/AdoptOpenJDK/openjdk${major_version}-binaries/releases/download/${jdk_folder}/OpenJDK${major_version}U-jdk_x64_${os}_hotspot_${software_version}${extension}"

However since July 2021 Adopt moved to Eclipse and is now called Temurin and is available e.g. at https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1%2B12/OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz

Steps to reproduce (bug) / Use Case of feature request (enhancement)

Run setup in the latest version with JAVA_VERSION=17.0.1

Affected version:

OS: Windows
@sujith-mn sujith-mn added java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium) setup related to the setup process of devonfw-ide (setup[.bat] and devon ... setup) labels Nov 19, 2021
sujith-mn added a commit that referenced this issue Nov 25, 2021
Co-authored-by: SchettlerKoehler <62466958+SchettlerKoehler@users.noreply.github.com>
@hohwille hohwille linked a pull request Dec 2, 2021 that will close this issue
@hohwille hohwille added this to the release:2021.12.002 milestone Dec 13, 2021
@hohwille
Copy link
Member

For the record: PR #630 does not properly solve the problem of choosing the correct download URL:

ERROR: Failed to download java-8u312b07-mac.tar.gz from https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jdk_x64_mac_hotspot_8u312b07.tar.gz

With PR #643 this is fixed (just tested).

@hohwille
Copy link
Member

For the record:

Run setup in the latest version with JAVA_VERSION=17.0.1

There is no java release 17.0.1 so this is setting a wrong expectation.
What works for me with the latest release is something like this:

JAVA_VERSION=17.0.1_12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium) setup related to the setup process of devonfw-ide (setup[.bat] and devon ... setup)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants