Date
1 - 5 of 5
how to add openjdk 1.8 to my project
ramonskie
i'm trying to create a bosh release that needs openjdk 1.8
but i have no clue on how to do this i know that you can do it with bosh-gen --apt option and then it downloads a massive amount of dependencies but when i check other projects they all depend on openjdk-*.*.tar.gz and i searched that net but i can't find them so i assume that you need to create the package yourself so i'm wondering if we have some global packages? or maby point me in to the right directions of how you should do it -- View this message in context: http://cf-bosh.70367.x6.nabble.com/how-to-add-openjdk-1-8-to-my-project-tp142.html Sent from the CF BOSH mailing list archive at Nabble.com. |
|
James Bayer
the uaa needs java
toggle quoted message
Show quoted text
the java buildpack builds and hosts the openjdk jre's on a repository: https://github.com/cloudfoundry/java-buildpack/blob/master/config/repository.yml you'll just need some help to find out where exactly. hopefully someone can point out how to do it. On Mon, Jun 8, 2015 at 6:28 AM, ramonskie <ramon.makkelie(a)klm.com> wrote:
i'm trying to create a bosh release that needs openjdk 1.8 --
Thank you, James Bayer |
|
Gwenn Etourneau
Up to you but nornally you just need to create a package to install openJdk,
toggle quoted message
Show quoted text
for example https://github.com/cloudfoundry-community/jenkins-boshrelease/tree/master/packages we install the jre, should be mostly the same script to install the jdk you want. But before that maybe you should understand how to create a bosh release. On Mon, Jun 8, 2015 at 11:17 PM, James Bayer <jbayer(a)pivotal.io> wrote:
the uaa needs java |
|
ramonskie
i understand somehow bosh works not of al of it
i created this a 2 months ago https://github.com/cloudfoundry-community/bosh-scaler-boshrelease and i understand how to extract it and use the packages script but what i was wondering where/how did you get the sources of the jre/jdk and packaged it -- View this message in context: http://cf-bosh.70367.x6.nabble.com/how-to-add-openjdk-1-8-to-my-project-tp142p148.html Sent from the CF BOSH mailing list archive at Nabble.com. |
|
Gwenn Etourneau
Example :
toggle quoted message
Show quoted text
Get the file here for example , http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html You need to add to the blobstore to be able to use it, for dev local is enough. Or add it into the src directory which is not a good pratice as you will push it to your source control system. Once your final release is ready you can package all in one tarball. Please read https://bosh.io/docs/create-release.html On Tue, Jun 9, 2015 at 4:51 PM, ramonskie <ramon.makkelie(a)klm.com> wrote:
i understand somehow bosh works not of al of it |
|