From 5020de1f617a6b7fffc5714d87c2f9dfcc9ac013 Mon Sep 17 00:00:00 2001
From: Yoshito Umaoka
-Note: This is a development release of ICU4J 58.
+
+Note: This is a release candidate of ICU4J 58.
The contents of this document may not reflect the recent changes done
for ICU 58 development. This release candidate is intended for those
wishing to verify ICU 58 integration before final release. It is not
-recommended for production use. -->
+recommended for production use.
For the most recent release, see the ICU4J
@@ -106,13 +106,13 @@ certain countries
International Components for Unicode for Java (ICU4J)
-Read Me for ICU4J 58 Milestone 1
-(Last Update: 2016-July-1)
+Read Me for ICU4J Release Candidate
+(Last Update: 2016-Sep-29)
+Enhancements
Enhancements to the normal Java number
formatting. The spell-out format is
used for checks and similar documents
+Word-Break Detection – Rule-based, supports Thai, Khmer, Chinese, etc.
Required for correct support of Thai
ICU4J 58 depends on J2SE 6 functionality. Therefore, ICU4J only runs on JRE version 6 or later. -The table below shows the operating systems and JRE/VM versions currently -used by the ICU development team to test ICU4J. -
-Operating System | -JRE 8 | -JRE 7 | -JRE 6 | -|||
---|---|---|---|---|---|---|
32bit | -64bit | -32bit | -64bit | -32bit | -64bit | -|
AIX 6.1 | -- | -- | -- | -Regularly tested | -- | -Regularly tested | -
AIX 7.1 | -- | -- | -- | -Reference platform | -- | -Regularly tested | -
HP-UX 11 (IA64) | -- | -- | -- | -Regularly tested | -- | -Regularly tested | -
Mac OS X 10.6 | -- | -- | -- | -- | -- | -Regularly tested | -
Redhat Enterprise Linux 6 (x86) | -- | -- | -Regularly tested | -- | -Regularly tested | -- | -
Redhat Enterprise Linux 6 (x86_64) | -- | -Regularly tested | -- | -Reference platform | -- | -Regularly tested | -
Solaris 10 (SPARC) | -- | -- | -Regularly tested | -Regularly tested | -Regularly tested | -Regularly tested | -
Solaris 11 (SPARC) | -- | -- | -- | -Regularly tested | -- | -Regularly tested | -
Windows XP | -- | -- | -Regularly tested | -- | -Regularly tested | -- | -
Windows Vista | -- | -- | -Regularly tested | -- | -Regularly tested | -- | -
Windows 7 | -- | -Regularly tested | -Reference platform | -- | -Regularly tested | -- | -
Windows 2008 Server | -- | -Regularly tested | -- | -Regularly tested | -- | -Regularly tested | -
There are two ways to download the ICU4J releases. +
There are a few different ways to download the ICU4J releases.
+<dependency> + <groupId>com.ibm.icu</groupId> + <artifactId>icu4j</artifactId> + <version>58.1</version> +</dependency> ++
-To build ICU4J, you will need J2SE SDK 6 or later and the Ant build system
-version 1.8 or later. It's recommended to install both the J2SE SDK and Ant
+To build ICU4J, you will need JDK 7 or later (JDK 8 is the reference envionment for this release)
+and the Apache Ant version 1.9 or later. It's recommended to install both the JDK and Ant
somewhere outsidethe ICU4J directory. For example, on Linux you might install
these in /usr/local
.
Installing Ant is straightforward. Download it (see http://ant.apache.org/bindownload.cgi), -extract it onto your system, set some environment variables, and add -its bin directory to your path. For example:
+- set JAVA_HOME=C:\jdk1.7.0 - set ANT_HOME=C:\ant + set JAVA_HOME=C:\jdk1.8.0 + set ANT_HOME=C:\apache-ant set PATH=%JAVA_HOME%\bin;%ANT_HOME%\bin;%PATH%-
See the current Ant documentation for details.
+Once the J2SE SDK and Ant are installed, building is just a matter of -typing ant in the ICU4J root directory. This causes the -Ant build system to perform the build target jar -as specified by the file build.xml, located in the ICU4J -root directory. You can give Ant options like -verbose, and you can specify -other targets. For example:
+Once the JDK and Ant are configured, run the desired target defined in +build.xml. The default target is "jar" which compiles ICU4J library +class files and create ICU4J jar files. For example:
Note: The above output is an example. The numbers are likely to be different with the current version ICU4J.C:\icu4j>ant Buildfile: C:\icu4j\build.xml info: [echo] ----- Build Environment Information ------------------- - [echo] Java Home: C:\jdk1.7.0\jre - [echo] Java Version: 1.7.0 - [echo] Ant Home: C:\ant + [echo] Java Home: C:\jdk1.8.0\jre + [echo] Java Version: 1.8.0_102 + [echo] Ant Home: C:\apache-ant [echo] Ant Version: Apache Ant(TM) version 1.9.4 compiled on April 29 2014 - [echo] OS: Windows 7 - [echo] OS Version: 6.1 + + [echo] OS: Windows 10 + [echo] OS Version: 10.0 [echo] OS Arch: amd64 [echo] Host: ICUDEV [echo] ------------------------------------------------------- @@ -652,20 +532,20 @@ core: @compile: [echo] build-local: ../../shared/../../build-local.properties - [echo] ${java5.bootclasspath} [echo] --- java compiler arguments ------------------------ [echo] source dir: C:\icu4j\main\classes\core/src [echo] output dir: C:\icu4j\main\classes\core/out/bin - [echo] bootclasspath: - [echo] classpath: - [echo] source: 1.5 - [echo] target: 1.5 + [echo] bootclasspath: + [echo] classpath: + [echo] source: 1.6 + [echo] target: 1.6 [echo] debug: on [echo] encoding: UTF-8 - [echo] compiler arg: -Xlint:all,-deprecation,-dep-ann,-options + [echo] compiler arg: -Xlint:all,-deprecation,-dep-ann,-options,-overrides + [echo] ---------------------------------------------------- [mkdir] Created dir: C:\icu4j\main\classes\core\out\bin - [javac] Compiling 365 source files to C:\icu4j\main\classes\core\out\bin + [javac] Compiling 364 source files to C:\icu4j\main\classes\core\out\bin [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. @@ -690,10 +570,10 @@ _build-localespi: @compile: [echo] build-local: ../../shared/../../build-local.properties - [echo] ${java5.bootclasspath} [echo] --- java compiler arguments ------------------------ [echo] source dir: C:\icu4j\main\classes\localespi/src [echo] output dir: C:\icu4j\main\classes\localespi/out/bin + [echo] bootclasspath: [echo] classpath: C:\icu4j\main\classes\core\out\lib\icu4j-core.jar;C: \icu4j\main\classes\collate\out\lib\icu4j-collate.jar [echo] source: 1.6 @@ -734,7 +614,7 @@ jar: [copy] Copying 1 file to C:\icu4j BUILD SUCCESSFUL -Total time: 50 seconds+Total time: 30 seconds
The following are some targets that you can provide to ant. @@ -800,14 +680,6 @@ how to configure Eclipse to build and develop ICU4J on Eclipse IDE.
page ICU4J Locale Service Provider. -Some clients may not wish to ship all of ICU4J with their -application, since the application might only use a small part of ICU4J. -ICU4J release 2.6 and later provide build options to build individual -ICU4J 'modules' for a more compact distribution. For more details, please -refer to the section Modularization of ICU4J in the ICU user's -guide article Packaging ICU4J. -
Note: the demos provided with ICU4J are for the most part undocumented. This list can show you where to look, but @@ -816,12 +688,12 @@ and may change or disappear without notice.
The icu4j.jar file contains only the ICU4J runtime library classes, not the demo classes, so unless you build ICU4J there is little to try out.
-java -cp $icu4j_root/icu4j.jar:$icu4j_root/icu4j-charset.jar <your program>-
The other demo programs are not supported and exist only to let you experiment with the ICU4J classes. First, build ICU4J using ant jarDemos. Then launch the demos as below:
@@ -943,7 +815,7 @@ resources. See the jar tool information for how to do this. Before the remaining resources, making sure each required resource is present. -@@ -983,14 +855,14 @@ the contents of the ICU4J resources. The files in icudata.jar get extracted to com/ibm/icu/impl/data in the build output directory by some build targets. -
Building ICU4J Resources from ICU4C
+Building ICU4J Resources from ICU4C
ICU4J data is built by ICU4C tools. Please see "icu4j-readme.txt" in $icu4c_root/source/data for the procedures.Generating Data from CLDR
Note: This procedure assumes that all 3 sources are present
- Checkout or download CLDR version 'release-30'
-- Checkout ICU4C with tag 'release-58-rc'
-- Checkout ICU4J with tag 'release-58-rc'
+- Checkout ICU4C with tag 'release-58-1'
+- Checkout ICU4J with tag 'release-58-1'
- cd to $icu4c_root/source/data directory
- Follow the instructions in $icu4c_root/source/data/cldr-icu-readme.txt
- Rebuild ICU4C with the newly generated data.
@@ -1002,12 +874,12 @@ ICU4J data is built by ICU4C tools. Please see "icu4j-readme.txt" in $icu4c_rAbout ICU4J Time Zone
-ICU4J 58 Milestone 1 includes time zone data version 2016e, which is the latest one as of -the release date. However, time zone data is frequently updated in response +
ICU4J library includes the latest time zone data, as of the release date. +However, time zone data is frequently updated in response to changes made by local governments around the world. If you need to update the time zone data, please refer the ICU user guide topic Updating the Time Zone Data.
-Starting with ICU4J 4.0, you can optionally configure ICU4J date and time +
You can optionally configure ICU4J date and time service classes to use underlying JDK TimeZone implementation (see the ICU4J API reference TimeZone for the details). When this configuration is enabled, ICU's own time zone data @@ -1017,12 +889,7 @@ won't be used and you have to get time zone data patches from the JRE vendor.
http://www.icu-project.org/ is the home page of International Components for Unicode development project
-http://www.ibm.com/software/globalization/icu/ -is a pointer to general information about the International Components for -Unicode hosted by IBM
-http://www.ibm.com/software/globalization/ -is a pointer to -information on how to make applications global.
+Submitting Comments, Requesting Features and Reporting Bugs
-- 2.40.0