gradle-macappbundle icon indicating copy to clipboard operation
gradle-macappbundle copied to clipboard

Java 11 JRE's from adoptopenjdk are not supported

Open treaves opened this issue 6 years ago • 1 comments

The task createBundleJRETask ends up copying into the bundle nothing, as the directories are all excluded. For example, there is no longer a JRE directory (which is what is included in the task). Perhaps some logic that looks into the Info.plist of the 'JRE' to determine its type and what needs to get copied over.

The JRE is downloaded via an API at https://api.adoptopenjdk.net/v2/binary/nightly/openjdk11?openjdk_impl=hotspot&os=mac&arch=x64&release=latest&type=jre

treaves avatar Jan 29 '19 15:01 treaves

This isn't limited to adoptopenjdk. It is Java 11 in general. For example, Amazon Corretto's JDK 8 works but JDK 11 doesn't since there isn't a jre directory in Java 11.

chrisvire avatar Jul 02 '20 17:07 chrisvire