Tuesday Oct 14, 2014

JDK 8u25, 7u71 and 7u72 released!

JDK 8u25, 7u71 and 7u72 releases are now available. You can download these latest JDK releases from Java SE Downloads page.

For information on features and fixes included in these releases, see JDK 8u25 release notes, JDK 7u71 release notes, and JDK 7u72 release notes.

Thursday Oct 02, 2014

JavaOne 2014: Enhanced Metadata in Java SE 8

Wednesday at JavaOne, Joe Darcy and Alex Buckley of Oracle presented Enhanced Metadata in Java SE 8. This session described new features related to annotations and explained how to use annotations with custom type checkers to improve code quality.

For more information on this topic, see the Annotations lesson in the Java Tutorials.

JavaOne 2014: Packaging and Deploying Java Apps in Java 8u20

Today at JavaOne, Danno Ferrin of Oracle presents the session Packaging and Deploying Java Apps in Java 8u20. This session provides information about the new features for the Java Packager and shows you how to integrate them into your build chain.

For more information on this topic, see The Java Packager Tool and Packaging Basics in the Java Platform, Standard Edition Deployment Guide.

JavaOne 2014: Best Practices for Efficient Java ME Programming

Today at JavaOne, Andrey Petushkov (Consulting Member of the Technical Staff, Oracle) hosts the session Best Practices for Efficient Java ME Programming.

You will learn how to use various language and VM features to create memory effective applications. Numerous examples demonstrate the real use cases for the new Java ME 8 platform features.

JavaOne 2014: Java ME Platform Fueled by New Tooling Architecture

Today, Sergey Troshin, a staff engineer at Oracle, hosts the session Java ME Platform Fueled by New Tooling Architecture.

This presentation highlights the new tooling architecture that turns a resource-constrained Java ME Embedded system into a developer-friendly and manageable platform. You will learn about various tools, services, and extensions that can be provided atop the architecture.

Tuesday Sep 30, 2014

JavaOne 2014: JavaFX 8, New and Noteworthy

Monday at JavaOne, Kevin Rushforth and Steve Northover of Oracle presented JavaFX 8: New and Noteworthy at JavaOne. This talk described features added to JavaFX 8.

For more information on JavaFX 8 features, see:

JavaFX documentation is available at http://docs.oracle.com/javafx

JavaOne 2014: Lambda Expressions in Java ME Embedded

Today at JavaOne, Sergey Troshin, a staff engineer at Oracle, gives a presentation on Lambda Expressions in Java ME Embedded.

Lambda expressions, the most important feature of Java 8, are tightly integrated into the entire Java platform. In this presentation, you learn how lambda expressions can be leveraged in the Java ME embedded.

JavaOne 2014: Java ME 8 Scales from the Desktop to Tiny Embedded

Today, Terrence Barr, a senior technologist and principal product manager for Java ME, will be talking about new Java ME 8 features — such as profile sets and optional APIs, modular services, shared libraries, peripheral device I/O, and more.

From his presentation you can learn how to create hardware-independent and scalable software that delivers embedded intelligence across a variety of embedded use cases.

Find more information about Java ME Embedded 8 at the Java ME documentation portal.

Monday Sep 29, 2014

JavaOne 2014: The Java Time API in Java SE 8

Monday, Roger Riggs of Oracle gave a presentation about The Java Time API in Java SE 8. This API was introduced in JDK 8 and makes it easier for developers to write date-and-time-based code.

For more information on this API, see the Date Time Trail in the Java Tutorials.

JavaOne 2014: Security with Java Deployment

Monday at JavaOne, David DeHaven and Chris Bensen of Oracle gave a presentation on Security with Java Deployment, which covers the changes that were made in the deployment security model over the past few years. Best practices were also discussed.

For additional information about the topics covered, see the following Java documentation:

JavaOne 2014: Lambda Expressions, Streams, and JDK 8 Enhancements to Collections

The following JavaOne presentations, scheduled for Monday, September 29, discuss lambda expressions, streams, and JDK 8 enhancements to collections:

For more information about these topics, see the following sections in the Java Tutorials:

Java ME Embedded 8.1 Developer Preview on FRDM-K64F is Live!

The Oracle Java ME Embedded 8.1 Developer Preview on FRDM-K64F offers a feature-rich and optimized Java ME 8 runtime in 190 KB RAM, enabling highly functional Java Embedded applications on single-chip micro-controller system.

Find more information about the available features and platform limitations in the Release Notes. Study the Getting Started Guide to try the Developer Preview release on FRDM-K64F in action.

You can also preview an early access version of the Java ME Optimization Techniques Guide, the newly added chapter of the Java ME Embedded Developer's Guide.

Java ME documentation will highly appreciate your responses to the Java ME Documentation Survey. This survey is set specifically to collect readers' feedback and better understand preferences of the developer community.

Monday Sep 15, 2014

First Cup and Java EE 7 Tutorial Updated!

On September 9th, Update 1, a significant update to the Java EE 7 SDK, was released. You can get the new SDK from here. Update 1 includes updates to the Java EE 7 Tutorial as well as to the First Cup tutorial. Version numbers for both tutorials are now 7.0.5. The tutorial updates include many bug fixes, both in the examples and in the documentation. Although most of these fixes were small, taken together they should improve your experience using the tutorials.

These are the most significant example fixes:

  • Fixed locale-specific problems in dukeetf and dukeetf2 that were caused by the character used as a separator.
  • Fixed problems in Duke's Forest and Duke's Tutoring examples that were caused by a GlassFish package renaming exercise. See this blog entry on the Aquarium for more information.
  • Rewrote the Batch Processing phonebilling example to obtain properties in partitioned steps in a way that complies with the JSR 352 specification and works with the jbatch implementation in GlassFish as well as the JBeret implementation in Wildfly. We inadvertently wrote the example in a way that caused an NPE in JBeret/Wildfly. This fix was completed the day that we shipped, so you'll need to use Update Tool to pull down the package (javaee-tutorial 7.0.5, 1-2) that includes this fix.

Note: The SDK is now available only in ZIP format, which should work on all platforms. There is no installer. The Update Tool is not included with the distribution. You must install it from the command line (issue the updatetool command) or by using NetBeans IDE (from the Services tab, open Servers, right-click GlassFish Server, select View Domain Update Center, then follow the prompts to download and install it).

We verified that all of the examples work properly with the latest versions of JDK 7, JDK 8, and NetBeans IDE 8.

Follow the instructions in Section 2.1, Required Software to obtain and install the latest update mentioned above.

Tuesday Aug 19, 2014

JDK 8u20 Documentation Updates

JDK 8u20 has been released and is available from the Java Downloads page. See the JDK 8u20 Update Release Notes for details.

Highlights for this release:

  • The Medium security level has been removed. Now only High and Very High levels are available. Applets that do not conform with the latest security practices can still be authorized to run by adding the sites that host them to the Exception Site List. See Security for more information.

  • The javafxpackager tool has been renamed to javapackager, and supports both Java and JavaFX applications. The -B option has been added to the javapackager deploy command to enable arguments to be passed to the bundlers that are used to create self-contained applications. See javapackager for Windows or Linux and OS X for information.

    The <fx:bundleArgument> helper parameter argument has been added to enable arguments to be passed to the bundlers when using ant tasks. See JavaFX Ant Task Reference for more information.

  • A new attribute is available for JAR file manifests. The Entry-Point attribute is used to identify the classes that are allowed to be used as entry points to your application. See Entry-Point Attribute for more information.

  • A new Microsoft Windows Installer (MSI) Enterprise JRE Installer, which enables users to install the JRE across the enterprise, is available for Java SE Advanced or Java SE Suite licensees. See Downloading the Installer in JRE Installation For Microsoft Windows for more information.

  • The following new configuration parameters are added to the installation process to support commercial features, for use by Java SE Advanced or Java SE Suite licensees only:


    See Installing With a Configuration File for more information about these and other installer parameters.

Documentation highlights:

  • New Troubleshooting Guide combines and replaces the Desktop Technologies Troubleshooting Guide and the HotSpot Virtual Machine Troubleshooting Guide to provide a single location for diagnosing and solving problems that might occur with Java software.

  • New Deployment Guide combines and replaces the JavaFX Deployment Guide and the Java Rich Internet Applications Guide to provide a single location for information about the Java packaging tools, creating self-contained applications, and deploying Java and JavaFX applications.

  • New Garbage Collection Tuning Guide describes the garbage collectors included with the Java HotSpot VM and helps you choose which one to use.

  • The Java Tutorials have a new look.

Java Components Landing Page and Documentation Updates

The new Java Components page provides access to the documentation for tools that are available for monitoring, managing, and testing Java applications. Documentation for the new versions of the following tools is available:

  • JavaTest Harness 4.6. The JavaTest harness is a general purpose, fully-featured, flexible, and configurable test harness that is suited for most types of unit testing. See the JavaTest tab for documentation.

  • SigTest 3.1. SigTest is a collection of tools that can be used to compare APIs and to measure the test coverage of an API. See the SigTest tab for documentation.

The following tools are part of Oracle Java SE Advanced and Oracle Java SE Suite.

  • Java Mission Control and Java Flight Control 5.4 are supported in JDK 8u20. Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. See the JMC tab for documentation.

  • Advanced Management Console 1.0 is a new tool that is now available. AMC can be used to view information about the Java applets and Java Web Start applications running in your enterprise, and create deployment rules and rule sets to manage the execution of these applications. See the AMC tab for documentation.

  • Usage Tracker tracks how Java Runtime Environments (JREs) are being used in your systems. See the Usage Tracker tab for documentation.


Blog about Java technology documentation and news about Java releases.


« November 2015