Installing OpenJDK 8 via yum/Puppet?

Mani Sarkar sadhak001 at gmail.com
Fri Jul 4 22:37:51 UTC 2014


Daniel,

I found these (see attached) on my MacBook and also came across the Centos
VM, so in case you have issues with yours you can always get a copy from me
its about 8GB uncompressed.

The instructions are in the form of a scratchpad, so not well formatted, if
its unclear let me know.

Cheers,
Mani


On Fri, Jul 4, 2014 at 11:19 PM, Mani Sarkar <sadhak001 at gmail.com> wrote:

> I had built it on CentOS sometime back but CentOS unlike Ubuntu has a
> steeper learning curve.
>
> The instructions are the same as for linux (as available on our Adopt
> OpenJDK wiki), if I can find the specific instructions I'll post it back on
> the list.
>
> Cheers,
> Mani
>
>
> On Fri, Jul 4, 2014 at 3:29 PM, Mario Torre <
> neugens.limasoftware at gmail.com> wrote:
>
>> Hi Daniel,
>>
>> As far as I know, OpenJDK 8 is only available via yum for the latest
>> Fedora at this moment, I don't think it has been build for Centos 6.x
>> (although it may be that somebody did an "unofficial" package).
>>
>> I don't know if the fedora package will work out of the box, but you
>> can try it (it won't probably), but it should be relatively
>> straightforward to adapt the spec file at this point.
>>
>> Cheers,
>> Mario
>>
>> 2014-07-04 12:10 GMT+02:00 Daniel Bryant <daniel.bryant at tai-dev.co.uk>:
>> > Hi all,
>> >
>> > I'm trying to install OpenJDK 8 via yum (on CentOS 6.5, with Puppet),
>> but
>> > the most recent version of Java available in the yum repo is 7. Has
>> anyone
>> > got any suggestions of how I could install OpenJDK 8 easily via
>> yum/Puppet,
>> > preferably without building it locally?
>> >
>> > Best wishes,
>> >
>> > Daniel
>>
>>
>>
>> --
>> pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
>> Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF
>>
>> Blog: http://neugens.wordpress.com - Twitter: @neugens
>> Proud GNU Classpath developer: http://www.classpath.org/
>> Read About us at: http://planet.classpath.org
>> OpenJDK: http://openjdk.java.net/projects/caciocavallo/
>>
>> Please, support open standards:
>> http://endsoftpatents.org/
>>
>
>
>
> --
> @theNeomatrix369 <http://twitter.com/theNeomatrix369>*  |  **Blog
> <http://neomatrix369.wordpress.com>**  |  *LJC Associate & LJC Advocate
> (@adoptopenjdk & @adoptajsr programs)
> *Meet-a-Project - *MutabilityDetector
> <https://github.com/MutabilityDetector>*  |  **Bitbucket
> <https://bitbucket.org/neomatrix369>* * |  **Github
> <https://github.com/neomatrix369>* * |  **LinkedIn
> <http://uk.linkedin.com/pub/mani-sarkar/71/a77/39b>*
> *Come to Devoxx UK 2014:* http://www.devoxx.co.uk/
>
> *Don't chase success, rather aim for "Excellence", and success will come
> chasing after you!*
>



-- 
@theNeomatrix369 <http://twitter.com/theNeomatrix369>*  |  **Blog
<http://neomatrix369.wordpress.com>**  |  *LJC Associate & LJC Advocate
(@adoptopenjdk & @adoptajsr programs)
*Meet-a-Project - *MutabilityDetector
<https://github.com/MutabilityDetector>*  |  **Bitbucket
<https://bitbucket.org/neomatrix369>* * |  **Github
<https://github.com/neomatrix369>* * |  **LinkedIn
<http://uk.linkedin.com/pub/mani-sarkar/71/a77/39b>*
*Come to Devoxx UK 2014:* http://www.devoxx.co.uk/

*Don't chase success, rather aim for "Excellence", and success will come
chasing after you!*
-------------- next part --------------
Centos

	Download and Installation
		http://wiki.centos.org/Download
		http://www.tecmint.com/centos-6-4-installation-guide-with-screenshots/
	
	Fix network issue
		https://www.centos.org/forums/viewtopic.php?t=5774

		$ su -c "yum install java-1.7.0-openjdk"

	http://akosidexter.wordpress.com/2011/04/07/installing-java-1-6-openjdk-in-centos-5-x-from-epel/

	    $ su -c "yum install git"
	    $ su -c "yum install mercurial"

	Rest of the instructions from 
		https://java.net/projects/adoptopenjdk/pages/GetSource#Debian/Ubuntu (both debian & fedora)

		$ yum groupinfo "X Software Development"

		$ yum groupinstall "X Software Development"
       
        $ su -c "yum install cups-devel"
        $ su -c "yum install alsa-lib-devel"


More information about the adoption-discuss mailing list