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

Oracle Distribution is not supported after- release 3.8.0 #424

Closed
shayrapetyan11 opened this issue Dec 6, 2022 · 2 comments
Closed

Oracle Distribution is not supported after- release 3.8.0 #424

shayrapetyan11 opened this issue Dec 6, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@shayrapetyan11
Copy link

Description:
Oracle distribution is not supported from 3.8.0 version.

Task version:
v3.8.0

Platform:

  • Ubuntu

Runner type:

  • Hosted

Repro steps:
- name: Set up JDK
uses: actions/setup-java@v3.8.0
with:
java-version: '17'
distribution: 'oracle'

Expected behavior:
Correct JDK version is installed

Resolved latest version as 17
Trying to download...
Downloading Java 17 (Oracle) from https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.tar.gz ...
Extracting Java archive...
/usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/work/_temp/a4825270-02bd-4394-9ade-e0c227bbc9fe -f /home/runner/work/_temp/3ce0ac66-9359-4c9b-aa68-095470353723
Java 17 was downloaded
Setting Java 17 as the default
Creating toolchains.xml for JDK version 17 from oracle
Writing to /home/runner/.m2/toolchains.xml

Java configuration:
Distribution: oracle
Version: 17
Path: /opt/hostedtoolcache/Java_Oracle_jdk/17/x64

Actual behavior:
error log

Error: No supported distribution was found for input oracle

@shayrapetyan11 shayrapetyan11 added bug Something isn't working needs triage labels Dec 6, 2022
@panticmilos
Copy link
Contributor

Hi @shayrapetyan11, and thank you for this report!

We are still not able to support Oracle OpenJDK releases. Because of this, we had to roll back v3.7.0, and Oracle changes are reverted in v3.8.0.

You can see more about this topic in the discussion of this issue.

I am going to leave this issue open for some time so other customers can be aware of this change.

@panticmilos
Copy link
Contributor

hi @shayrapetyan11, I will close this issue for now since I think it got some visibility, but we have other issues/PRs where we discuss this.

Feel free to reopen it if you think there is a need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants