Last change
on this file since 29331 was 28712, checked in by ak19, 11 years ago |
jts21 - Add files and instructions for building self-extracting jre file
|
File size:
951 bytes
|
Rev | Line | |
---|
[28712] | 1 | Self-extracting jre instructions
|
---|
| 2 | _________________________________
|
---|
| 3 |
|
---|
| 4 | 1. You need 7za and 7zCon.sfx from the p7z-essentials folder to generate the self-extracting jre from the jre
|
---|
| 5 |
|
---|
| 6 | 2. Need the jre for your java version.
|
---|
| 7 | Java 8 should be used for Expeditee.
|
---|
| 8 | The jre should be extracted into a folder named jre. Also, don't make it a tar file for Expeditee. (Greenstone expects the jre to be tarred up first.)
|
---|
| 9 |
|
---|
| 10 | 3. Run:
|
---|
| 11 | ./p7z-essentials/7za a -sfx -mx=9 jre_bin[_x64] /path/to/your-jdk-version/jre
|
---|
| 12 |
|
---|
| 13 | * -m0=lzma2 is already done automatically, setting the compression mode to lzma2.
|
---|
| 14 | * -mx=9 set its to ultra (compression? speed?)
|
---|
| 15 | * the output file name expected by the release-kit is jre_bin for 32 bit linux, jre_bin_x64 for 64 bit linux
|
---|
| 16 | * -sfx indicates that it will generate a self-extracting binary out of the input file
|
---|
| 17 | * the "a" indicates it will add the files from the input folder (the /path/to/your-jdk-version/jre in this case) to the output file
|
---|
| 18 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.