question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Are we gonna get Java 17 support for free, or do we need to do something? I tried setting java-version to 17 in v1 and it says:

Error: No valid download found for version 17.x and package jdk. Check https://static.azul.com/zulu/bin/ for a list of valid versions or download your own jdk file and add the jdkFile argument

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
sormurascommented, Sep 15, 2021

In the meanwhile, you may resort to download JDK 17 via https://www.oracle.com/java/technologies/jdk-script-friendly-urls/ and use it as an input of setup-java (@sormuras/bach/.github/workflows/ci.yml#L39-L50).

  • setup-java@v2
      - name: 'Download latest JDK 17'
        run: |
          wget \
            --no-verbose \
            --directory-prefix $RUNNER_TEMP \
            https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.tar.gz
      - name: 'Set up JDK'
        uses: actions/setup-java@v2
        with:
          java-version: 17
          distribution: jdkfile
          jdkFile: ${{ runner.temp }}/jdk-17_linux-x64_bin.tar.gz
  • setup-java@v1

Same as above without the distribution: jdkfile input line.

1reaction
hantsycommented, Sep 21, 2021

zulu 17 is available in Github actions.

Hantsy Bai

Self-employed consultant, fullstack developer, agile coach

GitHub: https://github.com/hantsy

Twitter: @.*** Medium: @.***

On Mon, Sep 20, 2021 at 1:50 PM Zac Sweers @.***> wrote:

Have zulu released 17 yet?

Yes. See https://www.azul.com/downloads/?version=java-17-lts&package=jdk for packages and an example PR with it here https://github.com/square/kotlinpoet/pull/1153

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/actions/setup-java/issues/229#issuecomment-922651969, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGQT6AKWAODLEYT3ZELI7DUC3DT5ANCNFSM5EBICJNA .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Oracle Java SE Support Roadmap
Oracle provides this Oracle Java SE Support Roadmap, to help you understand maintenance and support options and related timelines.
Read more >
Java/OpenJDK - endoflife.date
Release Released Active Support 19 3 months ago. (20 Sep 2022) Ends in 2 months and 4 weeks. (21 Mar... 18 9 months ago. (22...
Read more >
Java version history - Wikipedia
Java 7 is no longer publicly supported. For Java 11, long-term support will not be provided by Oracle for the public; instead, the...
Read more >
Java 17, the Next Long-Term Support Release, is Now Available
Oracle has released version 17 of the Java programming language and virtual machine. As the first long-term support release since JDK 11 in ......
Read more >
Chronicle Support Java 17
Chronicle Java 17 Support ... Starting from chronicle-bom-2.22ea26, all new releases can be run under Java 17 when run on the class path...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found