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

Q: Clarify why Java release 11 isn't available. #14

Open
rbygrave opened this issue Mar 15, 2022 · 4 comments
Open

Q: Clarify why Java release 11 isn't available. #14

rbygrave opened this issue Mar 15, 2022 · 4 comments

Comments

@rbygrave
Copy link

As per docs and testing the release version is 17 and up and does not include 11.

I'd just like to clarify why 11 is not available. Are there any plans to make 11 available?

That is, as a library author that has projects targeting Java release 11 I am effectively required to use Java 17 to build and test those projects (or use an alternate setup distribution). This seems less than optimal for those projects that are targeting 11.

Run JAVA=$JAVA_HOME_17_X64/bin/java
  JAVA=$JAVA_HOME_17_X64/bin/java
  DOWNLOAD=$GITHUB_ACTION_PATH/src/Download.java
  if [ ! -z "" ]; then
    $JAVA $DOWNLOAD 
  else
    $JAVA $DOWNLOAD oracle.com 11 latest
  fi
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
Exception in thread "main" java.lang.Error: Could not find URI of JDK[release=11, version=latest, os=linux, arch=x64, type=tar.gz]
	at Download.lambda$main$1(Download.java:72)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at Download.main(Download.java:72)
	at Download.main(Download.java:37)
Error: Process completed with exit code 1.
@rbygrave
Copy link
Author

I'm guessing this is down to licensing. Would be keen to know for sure but ... closing

@delabassee delabassee reopened this Mar 22, 2022
@delabassee
Copy link
Contributor

re-opening the issue to make sure we document this.

@YaSuenag
Copy link

I think it is caused by here in Oracle JDK, and here in jdk.java.net .

Do you have any plan to add earlier JDK release to them?

@sormuras
Copy link
Member

Do you have any plan to add earlier JDK release to them?

No. This action is about JDK 17 and higher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants