Support multiple JDKs during build
See original GitHub issueCertain projects might require multiple JDKs during build (e.g., Apache Log4j requires Java 7 and Java 9+ by means of toolchains.xml
) and in its current form, that is not possible via setup-java
.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:29
- Comments:25 (8 by maintainers)
Top Results From Across the Web
Manage Multiple JDKs on Mac OS, Linux and Windows WSL2
Manage Multiple JDKs with jEnv · Set a Java version for your overall system. · Set a Java version for the current directory/project...
Read more >How build multiple projects with gradle with multiple jdk ...
Toolchains allow to define a JDK version to be used to compile/run a project, that is a JDK different than the one running...
Read more >Support for multiple JDKs - The Travis CI Blog
Today we are happy to announce support for multiple JDKs!!! This will work for Clojure, Groovy, Java, Ruby and Scala. We hope this...
Read more >Managing Multiple JDK Installations With jEnv - Reflectoring
jEnv is a handy tool to manage multiple JDK versions between different projects. With jenv local <version> we can configure a JDK version...
Read more >How to set several JDK versions to be installed on demand
If we have jobs that need to be built using different JDK versions, you would need to have these JDKs installed in your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No, this only installs 1 java version for one build, not multiple java versions for 1 build
There is even a PR for this already, would be cool if it could be merged: https://github.com/actions/setup-java/pull/282
This sounds really useful do you think you can open a PR?
@dmitry-shibanov any chance this could be implemented soon or a PR being accepted for this?