davidB / gradle-getdown-plugin

A gradle plugin to bundle java app + jre with getdown support
Creative Commons Zero v1.0 Universal
16 stars 3 forks source link

Can't parse java version: 11.0.3+12-LTS #31

Open delike opened 4 years ago

delike commented 4 years ago

Hi :) Is there a way to use the plugin with java 11?

If i change the Version from 1.8 to 11 i get the following error:

"Can't parse java version: 11.0.3+12-LTS"

andretietz commented 4 years ago

Same issue here:

Can't parse java version: 13.0.1+9

davidB commented 4 years ago

The way to parse the version, but also how to download jre/jdk should be updated. I Also guess it's no longer possible to download jre/jdk version from oracle otn. So I'm not sure if this plugin continue to work as expected (it uses Oracle jre / jdk in a hardcoded way).

What is the output of your java -version?

andretietz commented 4 years ago
andre@workslave ~ % java -version
java version "13.0.1" 2019-10-15
Java(TM) SE Runtime Environment (build 13.0.1+9)
Java HotSpot(TM) 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)
andre@workslave ~ % 
atarijeff commented 4 years ago

I am having the same issue and this will be a deal breaker for our organization to continue to use this. We are moving our code to OpenJDK 11+ . Is this even maintained anymore?

davidB commented 4 years ago

@atarijeff,

I no longer actively develop/use this plugin, I'm ok/happy to fix bugs, or to review, merge, release contribution PR that could :

If your organization want to contribute (instead of fork, make from scratch, ...), send PR.