- Timestamp:
- 2021-10-23T17:12:12+13:00 (3 years ago)
- Location:
- main/trunk/release-kits/shared/core/java-rt
- Files:
-
- 4 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/shared/core/java-rt/README.txt
r35567 r35672 7 7 The purpose of this directory is to store such rt.jar files, which are 8 8 then included into our compilation process through setting JAVACFLAGS 9 appropriate .9 appropriate (using -bootclasspath). 10 10 11 At the time of writing Greenstone3 targets JDK 1.6 as the oldest 11 12 At the time of writing Greenstone3 targets JDK 1.8 as the oldest 12 13 supported version. Over time it is expected that we might start 13 14 accumulating other versions of rt.jar here, and so this file has been 14 15 named: 15 16 16 rt-openjdk 6.jar17 rt-openjdk8.jar 17 18 18 which reflects that it is the OpenJDK Version 6of rt.jar that has19 which reflects that it is the OpenJDK Version 8 of rt.jar that has 19 20 been placed here. The actualy distribution of JDK used (OpenJDK) 20 21 should not be relevant here, but is reflected in the filename chosen … … 25 26 https://stackoverflow.com/questions/15492948/javac-source-and-target-options 26 27 28 == 29 30 An added extra wrinkle is we also need to deal with any jar files in 31 jre/lib/ext (part of Java's extension mechanism) that are used by any 32 Greenstone3 Java source code. It turns out Greenstone3 admin tool uses 33 javax.crypto package which means we also need to effectively add in 34 'jce.jar' here. Unlike rt.jar, this is *not* something that is expected 35 to change over time, and forunately Oracle has a download for the extension: 36 37 https://www.oracle.com/java/technologies/java-archive-downloads-java-plat-downloads.html# 38 39 At the time of writing, JCE-1.2.2 40 41 Following the instructions included in the download, there are in fact 4 jar files that 42 java/javac need access to to support the JCE extension: 43 44 jce1_2_2.jar local_policy.jar sunjce_provider.jar US_export_policy.jar 45 46 These are provided there, and added in to the -bootclasspath part of JAVACFLAGS 47 through rk-setup.bash
Note:
See TracChangeset
for help on using the changeset viewer.