Anyone know the answer? According to http://java.sun.com/javase/technologies/core/basic/intl/faq.jsp, it's 4.0 for 5. Has it been upgraded in 6? Link to reference would be much appreciated as well.
According to the ICU (International Components for Unicode), Java 6 is Unicode 4
I needed to know the Unicode version supported by a particular Java version for several times, why not answer one of these questions to make it easier for the next time. So, a 7 YEARS LATER answer:
From Unicode Versions Supported in Java-History, last updated in 2012:
Java version Release date Unicode version
JDK 1.0 January 23, 1996 Unicode 1.1.5
JDK 1.1 February 19, 1997 Unicode 2.0
JDK 1.1.7 September 12, 1997 Unicode 2.1
J2SE 1.2 December 8, 1998 Unicode 2.1
J2SE 1.3 May 8, 2000 Unicode 2.1
J2SE 1.4 February 6, 2002 Unicode 3.0
J2SE 5.0 September 30, 2004 Unicode 4.0
Java SE 6 December 11, 2006 Unicode 4.0
Java SE 7 July 28, 2011 Unicode 6.0
JEPs
The OpenJDK project publishes a JEP document for each version incrementing Unicode.
JEP 128: Unicode BCP 47 Locale Matching in Java SE 8.
JEP 133 adds support for Unicode 6.2 in Java 8.See also: Internationalization Enhancements in JDK 8.
JEP 227 for adding Unicode 7 support in Java SE 9.JEP 267 adds support for Unicode 8 in Java SE 9 as well.
JEP 314: Additional Unicode Language-Tag Extensions in Java SE 10. (Tags for currency type, the first day of the week, region override and time zone will now be supported.)
JEP 327 adds Unicode 10 support in Java SE 11.
Release Note: Support for Unicode 11 explains support for Unicode 11 in Java 12.
Listing.
Java version Release date Unicode version
Java SE 8 2014-03 Unicode 6.2.0
Java SE 9 2017-09 Unicode 7.0
& 8.0
Java SE 11 2018-09 Unicode 10.0
Java SE 12 2019-03 Unicode 11.0
Java SE 13.0.2 Unicode 12.1
See Java 13.0.2 Release Notes.
Unicode 5.1 is on the planned features list for Java in JDK 7. In Java 6 it remains Unicode 4.0.
IDNA standard, see here.
Related
I am upgrading openwebbeans project from openJDK12 to OpenJDK17 . currently webeans version is being used 2.0.10 . When upgrading application is not coming up. Is there any apachewebbeans version supporting java 17 and in near future any plan?
UPDATE: OWB-2.0.27 is compatible to JDK17 without having to change the xbean- libraries.
According to this site (https://openwebbeans.apache.org/download.html) OWB-2.0.x should support Java17.
It uses a shaded version of ASM-9 (Java17 support) for building our proxies and requires JavaSE 8 as minimum version.
But i have also problems getting the OWB-2.0.26 version to run with JDK17 because of the used xbean-asm9-shaded lib which only supports java up to version 16.
I'm aware that Java 8 (Oracle) system Clock implementation is limited to milliseconds at most, and that Java 9+ fixed that so in principle could get up to nanoseconds from the underlying clock. But then the underlying clock resolution may be ticking in steps of 1000ns or 100ns or 10ms, etc.
I know that in macOS Mojave the Java 8 clock give me resolution of 1ms and with Java 11 the resolution is 1ns
System.out.println(Instant.now()); // macOS Mojave Java 8 : 2019-11-15T09:04:32.714Z
System.out.println(Instant.now()); // macOS Mojave Java 11: 2019-11-15T09:01:30.867915Z
Is there a list of the actual precision / accuracy / resolutions per Java platform and OS?
Java 8
Up to milliseconds
Windows 10:
Linux 2.4: 10 ms (if I interpret right time(7))
Linux 2.6:
macOS Mojave: 1ms resolution
Java 11
Windows 10:
Linux 2.4:
Linux 2.6:
macOS Mojave: 1ns resolution
I am trying to run the code from the exercises from Chapter 8 of the PCGBook. They use clingo but don't say what version they are using. When I downloaded the latest version of Clingo from Potassco's sourceforge (version 4.5.4), it gives me lexer errors. I assume this is because the syntax has been changed between Gringo 3 and Gringo 4. On the Potassco website they say this and give a remedy for fixing it by downloading both versions of Gringo, but they don't say how to have both referenced when running programs with Clingo. I downloaded Gringo 3.0.0 and replaced the gringo.exe, but the clingo.exe has been compiled with the latest version of Gringo.
How do I download the latest version of Clingo, or the latest compatible version, with Gringo 3?
Clingo is the combination of the grounder gringo and the solver clasp, plus some extras. Note that version-wise gringo 3.x and clasp 2.x go together, and gringo 4.x and clasp 3.x go together. Clingo follows the versioning of gringo, so clingo 4.x combines gringo 4.x and clasp 3.x.
You can get the latest clingo version that supports gringo 3.x syntax from here: https://sourceforge.net/projects/potassco/files/clingo/3.0.5/
Alternatively you can get clasp 2.x to go with your gringo 3.x https://sourceforge.net/projects/potassco/files/clasp/2.1.5/
As a tip, you can always run clingo in different modes with the --mode=<arg> switch. The argument options are clingo, clasp and gringo. This means that currently you really only ever need clingo 3.x and 4.x to be installed. On windows you could e.g. rename the 3.x version to clingo3.exe.
We are currently using JasperReports Library 4.4.7 with JDK 1.6_23 on SAP NetWeaver 7.3 and we are planing to upgrade to 5.5.2, is it compatible with our environment JDK (1.6_23) since the library is compiled using JDK 1.7 ?
If the library is compiled using JDK 1.7, it won't run on Java SE 6-compatible environment. You would need to compile it (and jar) yourself -- I don't know the library, but it's likely to fail. Perhaps they switched to Java 7 compilation to use Java 7 features.
You may also "downgrade" the compiled byte code of the library to be Java 6 compliant -- see Compiling Java 7 to Java 6 (I have no experience with that either).
I've installed simulator os 7 and its loading forever. (its good with simulator os <= 6)
My problem is just like :
blakcberry os 7 simulator not loading on my system
and the problem looks like not solved yet.
My System:
Processor: Intel core 2 duo #2GHz
Ram: 4 GB
Windows 7 ultimate 32 bit service pack 1, with UAC off
Java sdk 1.6 update 31
IDE: eclipse galileo 3.5
Blackberry plugin 1.1.2
is there any suggestion, step, or something configuration how to solve this
Your versions of Eclipse and the BlackBerry plugin are pretty old, might be worth updating them to see if that makes a difference. Current versions are
Eclipse: Indigo 3.7
BB Plugin: 1.5.2
As another commenter has said, your hardware is pretty old as well and the simulator is very resource intensive. To give you an idea of simulator performance here's my spec:
CPU: Intel i7 2700K (overclocked to 3.4GHz)
RAM: 16GB
HDD: 128GB Samsung 830 SSD
OS: Windows 7 Professional 64 bit
Eclipse: Indigo 3.7.2 (in eclipse.ini I have the following flag: -Xmx768m)
BB Plugin: 1.5.2
BB Simulator: Bold 9930
Running (not debugging) the simulator takes 17 seconds to load.