Changeset 35474 for main/trunk/release-kits/shared/mac/README
- Timestamp:
- 2021-09-24T16:21:26+12:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/shared/mac/README
r32043 r35474 2 2 _________________________________ 3 3 4 1. You need 7za and 7zCon.sfx from the p7z-essentials folder to generate the self-extracting jre from the jre. Check in the bitness subfolder (32-bit or 64-bit) appropriate to the target bitness of your self-extracting binary. 4 1. We've already committed the compiled up 64 bit versions of 7za and 7zCon.sfx for mac to svn, the 32 bit for Windows (also compatible with 64 bit Windows), and the 32 bit and 64 bit versions for linux. 5 On Mac these are now present in release-kits/shared/mac/p7z-essentials folder. 5 6 6 On a mac or linux, you need to compile these two binaries 7za and 7zCon.sfx up yourself by downloading the p7zip source code from online http://p7zip.sourceforge.net/. Compile the source code by first runnng "make" to build the 7za, then run "make sfx" to build the 7zCon.sfx binary. 7 The 7za and 7zCon.sfx from the p7z-essentials folder are needed to generate the self-extracting jre from a jre. Look in the bitness subfolder (32-bit or 64-bit) appropriate to the target bitness of your self-extracting binary. 8 9 On a mac or linux, you can compile these two binaries 7za and 7zCon.sfx up yourself by downloading the p7zip source code from online http://p7zip.sourceforge.net/. Compile the source code by first runnng "make" to build the 7za, then run "make sfx" to build the 7zCon.sfx binary. 10 7 11 8 12 2. Need the jre for your java version. 9 Java 8 should be used for Expeditee. 13 Java 8 should be used for Expeditee. Since Aug/Sep 2021, we've shifted to Java 8 for Greenstone also. 10 14 The jre should be extracted into a folder named jre. Also, don't make it a tar file for Expeditee. But Greenstone expects the jre to be tarred up first. 11 15 … … 27 31 * 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 28 32 33 If you see the message "Error: jre_bin_x64 is not supported archive", then cd into the p7z-essentials folder and run the ./7za command as above 34 29 35 30 36 … … 36 42 2. From the extracted contents, the folder you want is jre<version>.jre/Contents/Home. Rename this Home subfolder to "jre". 37 43 3. Tar it up and create the self-extracting jre (the final step of the instructions above): 38 ./p7z-essentials/64-bit/7za a -sfx -mx=9 jre_bin_x64 jre.tar 44 ./p7z-essentials/[64-bit]/7za a -sfx -mx=9 jre_bin_x64 jre.tar 45 46 If you see the message "Error: jre_bin_x64 is not supported archive", then cd into the p7z-essentials folder and run the ./7za command as above 39 47 40 48
Note:
See TracChangeset
for help on using the changeset viewer.