An open API service indexing awesome lists of open source software.

https://github.com/marschall/jdk-packager

a simple shell script that builds a JDK package
https://github.com/marschall/jdk-packager

Last synced: 3 months ago
JSON representation

a simple shell script that builds a JDK package

Awesome Lists containing this project

README

        

JDK Packager
============

A simple shell script that builds a JDK package.

Besides downloading the tarball the following actions will be performed:

* set the crypto.policy to unlimited
* set the entropy gathering device to /dev/urandom

Options supported:


-m

major java version eg. `8`

-u

update release -eg `172`

-b

build of the update release eg. `1`, you have to manually inspect the download links to find this out

-g

the UUID in the download URL (starting with 8u121) eg. `a58eab1ec242421181065cdc37240b08`, you have to manually inspect the download links to find this out, optional

-j

package to use `jdk` or `server-jre`

-p

proxy server to use

For example to build the server JRE for Java 8 update 162 use the following

```sh
./jdk-packager-8.sh -m 8 -u 172 -b 11 -g a58eab1ec242421181065cdc37240b08 -j server-jre
```
The output will be in the `target/` folder.

Or simply use

```sh
./package.sh server-jre-1.8.0_172
```

Currently only Linux x64 is supported.