Skip to main content

zc.buildout recipe that downloads and installs Java

Project description

slapos.recipe.java

This recipe downloads and installs java in your buildout.

Buildout configuration:

Add this section to your buildout configuration:

[buildout]
parts =
    ... your other parts ...
    java
...

[java]
recipe = slapos.recipe.java

By default it will fetch Java 6u25, but you might want to install from another location or another version like this:

[java]
recipe = slapos.recipe.java
download-url = ftp://location/to/self-extracting/java.bin

Or you can install openjdk instead.

[java] recipe = slapos.recipe.java flavour = openjdk

Notes:

This recipe only works with linux at the moment

This recipe requires rpm2cpio and cpio to be installed on your system.

Authors:

Original author: Cedric de Saint Martin - cedric.dsm [ at ] tiolive [ dot ] com

Inspired by : z3c.recipe.openoffice made by Jean-Francois Roche - jfroche@affinitic.be

Changelog

0.0.2

Adapting to use auto-extracting packages, and not rpms. [Cedric de Saint Martin]

0.0.1

Initial Commit [Cedric de Saint Martin]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slapos.recipe.java-0.0.2.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file slapos.recipe.java-0.0.2.tar.gz.

File metadata

File hashes

Hashes for slapos.recipe.java-0.0.2.tar.gz
Algorithm Hash digest
SHA256 745eac4025bbc4e903072f162b48c8fcbb91f904e02f10c59c7604545ed2526d
MD5 5a62e99f68f01ddd010b1b7552944572
BLAKE2b-256 cabe81b4b1fbb93cbb2dbf60fa2389f6a3da81c3a9554a1d03bbf098b657c69a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page