gradle-getdown-plugin icon indicating copy to clipboard operation
gradle-getdown-plugin copied to clipboard

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

Open delike opened this issue 5 years ago • 5 comments

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"

delike avatar Dec 18 '19 06:12 delike

Same issue here:

Can't parse java version: 13.0.1+9

andretietz avatar Jan 06 '20 15:01 andretietz

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?

davidB avatar Jan 06 '20 15:01 davidB

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 ~ % 

andretietz avatar Jan 10 '20 09:01 andretietz

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?

atarijeff avatar May 08 '20 17:05 atarijeff

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

  • fix this issue:
    • able to parse this new version number policy of JDK
    • able to download the right jre bundle to integrate (from where oracle, adaptJDK, ???)
  • check/add support to recent version of threerings/getdown: Download, Install, Update

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

davidB avatar May 09 '20 15:05 davidB