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
- Host: GitHub
- URL: https://github.com/marschall/jdk-packager
- Owner: marschall
- Created: 2015-02-12T20:24:22.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-04-21T19:56:59.000Z (about 7 years ago)
- Last Synced: 2025-01-16T02:45:08.115Z (5 months ago)
- Language: Shell
- Size: 26.4 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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/urandomOptions 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.