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.

Filename, size & hash SHA256 hash help File type Python version Upload date
slapos.recipe.java-0.0.2.tar.gz (4.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page