Get the lowest-cost and the best server colocation service in the business. Learn more.
Information Technology News.


Oracle's new Java update should please Java developers & users

Share on Twitter.

Get the most reliable SMTP service for your business. You wished you got it sooner!

Click here to order the best deal on a HP enterprise dedicated server and at a great price.

March 5, 2015

Oracle said today that its latest update to the Java Development Kit doesn't add any new language features or any changes to its APIs, but it still includes a number of enhancements that should please Java developers and users, nevertheless.

Released on March 3rd, Java Development Kit 8 Update 40 (JDK 8u-40) improves performance, memory management, and JavaScript support.

It also includes updates to the Java-FX user interface framework for accessibility and OS X compatibility.

Additionally, it repairs some bugs but none of them represent security vulnerabilities this time.

Java's Garbage First (G1) garbage collector gets some polish in this release. The new version will attempt to perform full garbage collections less often, resulting in fewer long pauses while the system frees up memory, making things run a bit smoother.

The notion of 'memory pressure' has also been added to the JDK, where memory pressure goes up as the system starts to run out of resources.

But beginning with JDK 8u-40, Java will try to reduce its resource demands when memory pressure runs high to avoid out-of-memory errors.

This could lead to some reduced performance, but Oracle says this was an intentional choice, nevertheless.

In addition, Oracle has improved how the JVM's Native Memory Tracking (NMT) diagnostic feature scales when running on large systems, so that it no longer affects performance "beyond what is considered acceptable for small programs."

Besides addressing some memory issues, the new release includes multiple optimizations patches for Project Nashorn, a feature introduced with Java 8 that allows developers to mix Java code with JavaScript where both run on the JVM.

To be sure, Nashorn's script engine should now run faster, and JDK 8u-40 introduces the Nashorn Class Filter, which allows developers tighter control over which Java classes can be accessed by JavaScript code.

Additionally, the Java Packager Tool, which creates standalone applications that can run on systems that don't otherwise have a Java Runtime installed, has also been improved.

These self-contained applications can now be passed command-line arguments and be assigned file type associations by the operating system.

They also now support multiple entry points, so that several different products can be included in the same package.

These standalone applications are particularly useful for deploying to online shops like the Mac App Store.

However, one issue has been that the Java-FX media stack for OS X was implemented in QT-Kit and Quicktime, which have been deprecated by Apple.

As a result, JavaFX-based applications that used the media stack could not be submitted to the Mac App Store.

In JDK 8u-40, these portions of JavaFX have been ported to the newer AV-Foundation framework, making apps created with them eligible for submission to Apple's store once again.

Overall, Java-FX has been enhanced with a new user interface controls. Plus, JavaFX controls are now compatible with assistive technologies.

On Windows and OS X, they can now be read by screen readers using a keyboard, and JavaFX now supports a high-contrast mode for better visibility on the screen.

A full list of the changes in JDK 8u40 is available in the official release notes. The new release is available via the Java auto-update mechanism or from Oracle's website.

It doesn't have long to live, though. Java Runtime Environment releases expire when a new version with fixes for security vulnerabilities becomes available, and Oracle's next Critical Patch Update fix is due to hit on April 14, the same day as Microsoft's regular Patch Tuesday's scheduled security updates for its Windows OS.

Those still running Java 7 have more to worry about, though. April 2015 is also when Oracle will stop providing new updates to that older version of the platform, except for those enterprise customers with extended support contracts.

Source: Oracle.

Get the most dependable SMTP server for your company. You will congratulate yourself!

Share on Twitter.

IT News Archives | Site Search | Advertise on IT Direction | Contact | Home

All logos, trade marks or service marks on this site are the property of their respective owners.

Sponsored by Sure Mail™, Avantex and
by Montreal Server Colocation.

       © IT Direction. All rights reserved.