Friday Sep 25, 2015

Creating Games with JavaFX 8: Case Study

Make the most of your JavaOne experience by registering for a Java University course. Courses take place on Sunday, October 25, and offer several deep-dive training seminars that cover the most popular Oracle technology topics. Don’t miss this opportunity to maximize your JavaOne experience in 2015.

Can JavaFX 8 be used to create games? Is game development different from traditional software development? This course uses JavaFX 8 to explore these questions and demonstrate many features of the JavaFX API. Discover an inside perspective of the JavaFX 8 game Java Puzzle Ball at various stages of the development process. Learn about classes, objects, inheritance, and lambda expressions (new to Java 8) through the visual context of JavaFX.

Register for this Java University course here: Java University registration is separate from JavaOne registration.

- Nick Ristuccia

Friday Sep 18, 2015

Java ME 8.2 Released!

Oracle Java ME Embedded 8.2 and Oracle Java ME SDK 8.2 are live on OTN. This is an evolutionary update of the Java ME Embedded platform and Java ME SDK toolchain. Among other features, this release brings an easy installation of the Java ME runtime onto devices and a long-requested support of Java ME SDK on Linux desktops.

The Device Access API version 1.1 includes improvements aiming at easier and more reliable access to peripheral hardware.

For a complete set of Java ME Embedded and SDK documentation and the related API specifications, visit the Java ME documentation portal at

Tuesday Aug 18, 2015

Advanced Management Console 2.0 is Available

Advanced Management Console (AMC) is a commercial product available as part of Oracle Java SE Advanced and Oracle Java SE Suite. AMC helps you manage the use of Java versions and Java applications in your enterprise. With the 2.0 release you can do the following:

  • Collect information about Java applications that are run in your enterprise
  • Identify which versions of Java are installed on desktops that Advanced Management Console manages
  • Analyze the data collected in a web-based user interface
  • Manage and distribute deployment rule sets
  • Configure the MSI file for installing JREs

For more information, see the Release Notes and the Advanced Management Console documentation.

Tuesday Jul 14, 2015

JDK 8u51 Released!

JDK 8u51 release is now available. You can download the latest JDK releases from Java SE Downloads page.

For information on features and fixes included in these releases, see the relevant release notes:

In addition, Java SE Embedded 8u51 and JDK 8u51 for ARM are also released. For more information on these releases, see the release notes:

Wednesday Jul 01, 2015

JDK 8 Massive Open and Online Course: Lambdas and Streams Introduction

Want to learn about Lambda Expressions and Streams in JDK 8? Then consider taking the FREE 3-week Oracle JDK 8 Massive Open and Online Course: Lambdas and Streams Introduction.

This course is designed to answer your questions and more.

  • Have you ever wondered what Lambda expressions are in Java?
  • Have you ever wanted to write parallel code in Java without worrying about threads and locking?
  • Have you ever wanted to process collections of data without using loops?
  • Have you ever wanted to do functional programming in Java?

All of these questions will be answered in this practical hands-on MOOC. This course introduces two major new changes to the Java platform: Lambda expressions and the Stream API.

Follow this link to enroll now!

Monday Jun 08, 2015

Upcoming presentation on the standard module system for JDK 9

Thanks for all your comments you posted on the blog post Welcome to Jigsaw and JDK 9. We're working on tutorials and other articles based on your feedback!

Later this month at Devoxx UK 2015, check out Mark Reinhold's presentation, Java 9: Make Way for Modules!.

Friday Jun 05, 2015

Oracle Java Card 3 Platform, Classic Edition, version 3.0.5 is now available

Oracle Java Card 3 Platform, Classic Edition, version 3.0.5 is live on OTN. This is a maintenance release that includes many new security features and support for Java SE 7 language enhancements. It also includes a new Eclipse plug-in to assist you in developing Java Card applications. See the Development Kit Release Notes for a complete list of new features.

The new Java Card Platform documentation portal contains the latest versions of the release notes, specifications, API documentation, Development Kit User Guide, and Programming Notes.

The Development Kit User Guide has been updated to describe the new Eclipse Java Card plug-in, including detailed instructions for how to run the sample code included with the platform. Follow the steps in this guide to install the development kit.

Wednesday May 13, 2015

Java ME Embedded 8.1 Adds Support for STMicroelectronics

The Developer Preview of Oracle Java ME Embedded 8.1 STM release is live on OTN. This release provides support for the STM32429I-EVAL developer platform in addition to Raspberry Pi, Windows, and FRDM-K64F. The newly added platform represents the market-leading STM32F4xx micro-controller family.

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 STM in action.
Refer to the Java ME Embedded Developer's Guide and Java ME SDK Developer's Guide to learn more about various aspects of Java ME application development.

See product documentation and API specifications at

Tuesday May 05, 2015

Welcome to Jigsaw and JDK 9

This is the first of a series of blog entries about Jigsaw, a major feature of JDK 9. We'll let you decide the topic of the next one. Which of the following do you want to know more about?

  1. How to get your applications to compile and run under JDK 9
  2. What to do if your applications depend on internal APIs, like the sun.* packages
  3. In-depth details about Jigsaw's module system

Post a comment telling us what you'd like to hear about next, or anything you'd like to say about Jigsaw.

Tuesday Mar 03, 2015

JDK 8u40 Released!

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

Java Tutorial Updates

The Java Tutorial has been updated to include a new lesson in the Deployment trail that describes how to use the Java packaging tools to generate self-contained applications. Self-contained applications are Java applications that are bundled with the JRE that is needed to run. These applications are installed on a user's local drive and launched in the same way as native applications. See Deploying Self-Contained Applications for more information.

JDK Tools Enhancements

JDK 8u40 contains many tools enhancements. See Tools Enhancements in JDK 8 for details.

JavaFX Enhancements

Starting with the JDK 8u40 release, JavaFX controls are enhanced to support assistive technologies, meaning that JavaFX controls are now accessible. In addition, a public API is provided to allow developers to write their own accessible controls.

Accessibility support is provided on Windows and Mac OS X platforms and includes:

  • Support for reading JavaFX controls by a screen reader
  • JavaFX controls are traversable using the keyboard
  • Support for a special high-contrast mode that makes controls more visible to users.

JDK 8u40 also includes new JavaFX UI controls; a spinner control, formatted-text support, and a standard set of alert dialogs.

Spinner Control

A Spinner is a single line text field that lets the user select a number or an object value from an ordered sequence. See javafx.scene.control.Spinner class for more information.

Formatted Text

A new TextFormatter class provides text formatting capablity for subclasses of TextInputControl (for example, TextField and TextArea). See javafx.scene.control.TextFormatter class for more information.


The Dialog class allows applications to create their own custom dialogs. In addition, an an Alert class is also provided, that extends Dialog, and provides support for a number of pre-built dialog types that can be easily shown to users to prompt for a response. See javafx.scene.control.Dialog, javafx.scene.control.Alert, javafx.scene.control.TextInputDialog, and javafx.scene.control.ChoiceDialog classes for more information.

Commercial Features

Application Class Data Sharing (AppCDS):

Application Class Data Sharing (AppCDS) extends CDS to enable you to place classes from the standard extensions directories and the application class path in the shared archive. This is an experimental feature and not licensed for commercial use. See the -XX:+UseAppCDS option in the java launcher tool page.

Cooperative Memory Management

Starting with JDK 8u40, the notion of "memory pressure" has been added to the JDK. Memory pressure is a property that represents the total memory usage (RAM) on the system. The higher the memory pressure, the closer the system is to running out of memory. This is an experimental feature and not licensed for commercial use.

As a reaction to increased memory pressure, the JDK will try to reduce its memory usage. This is mainly done by reducing the Java heap size. The actions the JDK will take to reduce memory usage may lead to reduced performance. This is an intentional choice.

The pressure level is provided by the application through a JMX MXBean using a scale from 0 (no pressure) to 10 (almost out of memory). To enable this feature, the should be registered. The memory pressure is then set using the "MemoryPressure" attribute.

A new command line flag -XX:MemoryRestriction that takes one of the arguments 'none', 'low', 'medium', or 'high', is also available. This flag will set the initial pressure in the JDK and will work also in cases where the MXBean is not registered.

Cooperative Memory Management requires the G1 GC (-XX:+UseG1GC). This feature is not compatible with the flag -XX:+ExplicitGCInvokesConcurrent.

New Commercial Flags

Two new VM options are now available for commercial license holders:

  • -XX:+ResourceManagement
  • -XX:ResourceManagementSampleInterval=value (milliseconds)

For more information, see the java tool page.

New MSI Installer Documentation

The Microsoft Windows Installer (MSI) Enterprise JRE Installer Guide is now available. The MSI Enterprise JRE Installer requires a commercial license for use in production. To learn more about commercial features and how to enable them, visit

Java Flight Recorder(JFR) Enhancements

It is now possible to enable Java Flight Recorder at runtime. For details, see the Java Flight Recorder Runtime Guide. Java Flight Recorder requires a commercial license for use in production. To learn more about commercial features and how to enable them, visit

Troubleshooting Guide Updates

The Troubleshooting Guide has been updated with new content for Troubleshooting using JMC, Troubleshooting Memory Leaks using JFR, and Troubleshooting Performance Issues using JFR.

Tuesday Jan 06, 2015

Java Tutorials Sixth Edition Book Released!

The JDK documentation team is pleased to announce that The Java Tutorials Sixth Edition book is now available on Amazon in printed book and kindle formats.

This edition, based on Java SE 8, introduces the new features added to the platform, including lambda expressions, default methods, aggregate operations, and more. Expanded coverage includes a chapter on the Date-Time API and a new chapter on annotations, with sections on type annotations and pluggable type systems as well as repeating annotations. In addition, the updated sections “Security in Rich Internet Applications” and “Guidelines for Securing Rich Internet Applications” address key security topics.

If you plan to take one of the Java SE 8 certification exams, this book can help. A special appendix, “Preparing for Java Programming Language Certification,” details the items covered on the available exams. Check the Java Tutorials online for updates.

- Sowmya

Monday Dec 01, 2014

Java EE 7 Docs Have a New Look!

Same content, new look, and some new URLs (apologies for that).

We wanted to make the URL stucture and page style of the Java EE 7 library more consistent with those of the other Java technologies. The contents of the Java EE 7 documentation haven't changed.

You can get to all the documentation for Java EE 7 and previous releases by going to

Until the search robots catch up to the new URLs, you can access the tutorials by removing doc/ from the URL if you get a 404 error. For example,

can be corrected to

Tuesday Nov 18, 2014

Oracle Java ME Embedded 8.1 is released!

Oracle Java ME Embedded 8.1 is live on OTN. This release is an update of Oracle Java ME Embedded 8, including new platforms and features. Application development is supported through the Oracle Java ME SDK 8.1.

Visit the Java ME documentation portal to study the latest versions of the Release Notes and Getting Started Guides for the following supported platforms:

  • Raspberry Pi Model B (ARM11/Linux)
  • Freescale FRDM-K64F (Cortex-M4/mbed) Developer Preview
  • Microsoft Windows 7 (32-bit or 64-bit)
The Java ME Developer's Guide is intended for developers who want to build Oracle Java ME Embedded software for embedded devices. The newly added Optimization Techniques chapter provides various solutions and tips to improve developer productivity and application performance. See the Java ME SDK Developer's Guide to learn how to develop applications with Oracle Java ME SDK 8 on Windows by using emulators. You can also learn how to develop, run, and debug your applications with NetBeans and Eclipse IDEs.

The complete set of Java ME Embedded and SDK documentation and the related API specifications can be found at

Thursday Oct 23, 2014

JMC and JFR Documentation

In case you missed it, the user guides for Java Mission Control and Java Flight Recorder have moved! As of JDK 8u20, links to the 5.4 and 5.3 versions of these docs can be found the JMC tab of the javacomponents page at:

Redirects from the old locations are in place, but please update your bookmarks accordingly!

Tuesday Oct 14, 2014

Java ME Documentation Survey 2014

The Oracle Java ME documentation team has put together a short survey (7 questions) to help us understand better what type of Java ME documentation you are looking for and how we can improve it:

If you're interested in the Java Embedded technologies and eager to start developing applications for various boards, please, do us a great favor by quickly filling in the survey!


Blog about Java technology documentation and news about Java releases.


« October 2015