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 hashes)

Uploaded Source

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