java - Oracle JDK 8 on Heroku with a Gradle Build -
does know can find gradle-compatible buildback heroku includes oracle java jdk 1.8?
i'm deploying reasonably complex spring application , have feeling strange errors caused differences between openjdk , oraclejdk.
alternatively, perhaps can guide me forking existing buildpack , creating own.
edit: wasn't jdk issue after all
first of all, unlikely solve problem. said...
you can customize jdk setting jdk_url_1_8
config var so:
$ heroku config:set jdk_url_1_8=http://...tar.gz
for oracle jdk: must strip jdk1.8.0_51 dir tarball. can running:
$ tar -xvf jdk-8u51-linux-x64.gz $ cd jdk1.8.0_51 $ tar -cv -f jdk-8u51-linux-x64.gz .
you should manually download oraclejdk, edit per above, , put in personal s3 bucket (or other storage). use url config var.
be aware oracle jdk larger openjdk (by 100mb). affect slug size. (the size due junk don't need gui stuff , docs).
Comments
Post a Comment