Skip to content

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

Description

@rbygrave

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.

Activity

  1. rbygrave commented on Mar 22, 2022

    @rbygrave
    Author

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

  2. delabassee commented on Mar 22, 2022

    @delabassee
    Contributor

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

  3. YaSuenag commented on Jan 16, 2023

    @YaSuenag

    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?

  4. sormuras commented on Jan 16, 2023

    @sormuras
    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

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