X

An Oracle blog about the Java Tutorials

Recent Posts

General

JDK 11.0.1, 8u191, 8u192, 7u201, and 6u211 Have Been Released!

JDK 11.0.1, 8u191, 8u192, 7u201, and 6u211 update releases are now available. You can download the latest JDK releases from the Java SE Downloads page.   NOTE There are no more update releases scheduled for JDK 6. JDK 6 will reach the end of extended support in December 2018. Applications running on JDK 6 that will remain in operation after December 2018 should be migrated to a newer JDK version as soon as possible. Please see the Oracle Java SE Support Roadmap for details.   One of the items of interest in this CPU release that you should be aware of is that JDK 8u191 also includes JDK 8u191 for ARM. Information about this product is included in Java™ Development Kit for ARM Release Notes 8 Update 191 and in the README Java™ Platform, Standard Edition 8 Development Kit, JDK™ 8u191 for ARM.   New Features, Changes, and Notable Bug Fixes For information about the new features, changes, and notable bug fixes included in the 11.0.1, 8u191, 8u192, 7u201, and 6u211 update releases, see the following release notes: JDK 11.0.1 Release Notes JDK 8u191 Release Notes JDK 8u192 Release Notes JDK 7u191 Release Notes JDK 6u201 Release Notes   Bug Fixes in These Update Releases For the lists of bug fixes included in the 11.0.1, 8u191, 8u192, 7u201, and 6u211 releases, see the following Bug Fixes pages: Java™ SE Development Kit 11, Update 11.0.1 Bug Fixes Java™ SE Development Kit 8, Update 191 Bug Fixes Java™ SE Development Kit 8, Update 192 Bug Fixes Java™ SE Development Kit 7, Update 201 Bug Fixes Java™ SE Development Kit 6, Update 211 Bug Fixes  

JDK 11.0.1, 8u191, 8u192, 7u201, and 6u211 update releases are now available. You can download the latest JDK releases from the Java SE Downloads page.   NOTE There are no more update...

JDK 11 Is Released!

JDK 11 is live! Download it from the Java SE Downloads page. See the JDK 11 Release Notes for detailed information about this release. Highlights include: Oracle JDK Migration Guide has been updated for JDK 11 with a description of the major differences between the JDK 10 and JDK 11 releases as well as guidance on how you can migrate from JDK 8 to later JDK releases. JDK HTTP Client can be used to request HTTP resources over the network. It supports HTTP/1.1 and HTTP/2, both synchronous and asynchronous programming models, handles request and response bodies as reactive-streams, and follows the familiar builder pattern. An implementation of Transport Layer Security (TLS) 1.3 has been included in this release. See Java Secure Socket Extension (JSSE) Reference Guide. Local-variable syntax for lambda parameters enables you to declare formal parameters of implicitly typed lambda expressions with the var identifier. See Local-Variable Type Inference. You can run a program supplied as a single file of Java source code, including usage from within a script by means of "shebang" files and related techniques. See the java command. The Unicode 10.0.0 standard is supported, which includes 16,018 characters and 10 scripts that were introduced since Unicode 8.0. The deployment stack, required for Applets and Web Start Applications has been removed. This includes the Java Control Panel used for configuring the deployment technologies, the shared system JRE (but not the server JRE), and the JRE Auto Update mechanism. See What's New in JDK 11 - New Features and Enhancements for further information.

JDK 11 is live! Download it from the Java SE Downloads page. See the JDK 11 Release Notes for detailed information about this release. Highlights include: Oracle JDK Migration Guide has been updated...

Java

JDK 10.0.2, 8u181, 7u191, and 6u201 Released!

JDK 10.0.2, 8u181, 7u191, and 6u201 releases are now available. You can download the latest JDK releases from the Java SE Downloads page. NOTE: There are several items of interest in this CPU release that you should be aware of: There are no further planned update releases for JDK 9. Users of JDK 9 should update to JDK 10. There is only 1 more update release scheduled for JDK 6 (October of 2018). JDK 6 will reach the end of extended support in December 2018. Applications running on JDK 6 that will remain in operation after December 2018 should be migrated to a newer JDK version as soon as possible. Please see the Oracle Java SE Support Roadmap for details. This release of JDK 8u181 also includes JDK 8u181 for ARM. Information about this product is included in Java™ Development Kit for ARM Release Notes 8 Update 181. See the following release notes for information about the new features, changes, and notable bug fixes included in the 10.0.2, 8u181, 7u191, and 6u201 releases: JDK 10.0.2 Release Notes JDK 8u181 Release Notes JDK 7u191 Release Notes JDK 6u201 Release Notes   For the lists of bug fixes included in the 10.0.2, 8u181, 7u191, and 6u201 releases, see the following pages: Java™ SE Development Kit 10, Update 10.0.2 Bug Fixes Java™ SE Development Kit 8, Update 181 Bug Fixes Java™ SE Development Kit 7, Update 191 Bug Fixes Java™ SE Development Kit 6, Update 201 Bug Fixes

JDK 10.0.2, 8u181, 7u191, and 6u201 releases are now available. You can download the latest JDK releases from the Java SE Downloads page. NOTE: There are several items of interest in this CPU release...

Java

AMC 2.11 is Released!

The Advanced Management Console (AMC) 2.11 release is now available. AMC is a commercial product available as part of Oracle Java Standard Edition (SE) Advanced and Oracle Java SE Suite. AMC helps you manage the use of different Java versions and Java applications in your enterprise. This release of AMC 2.11 is primarily a bug fix release. For information about this release, see: The Advanced Management Console 2.11 Release Notes describe the Known Issues and the Fixed Issues included in this release. The What's New In Advanced Management Console page describes the important changes and new features in this release as well as in the previous AMC releases. You can download the AMC 2.11 release from the Java Advanced Management Console Downloads page.   Benefits of Using AMC Key benefits of using AMC include: Usage Tracking: The Advanced Management Console collects information about which Java applications are launched by which Java versions, creating an application compatibility inventory. Usage Tracking can be configured automatically through the Windows Agent, or by using the configuration properties on other platforms. Taking Action: The Deployment Rule Set capabilities enable different Applet and Web Start applications to use different versions of Java installed on clients. This benefits organizations that must use older versions of Java or need many different Java versions for different reasons. MSI Customizations: System Administrators can use the Java Install Customizer tool to repackage MSIs, controlling the way that Java is installed on managed systems.   Documentation You can learn more about installing and using AMC from the following guides: Advanced Management Console Installation and Configuration Guide Advanced Management Console User's Guide

The Advanced Management Console (AMC) 2.11 release is now available. AMC is a commercial product available as part of Oracle Java Standard Edition (SE) Advanced and Oracle Java SE Suite. AMC helps you...

General

Advanced Management Console (AMC) 2.10 is Released!

The Advanced Management Console (AMC) 2.10 release is now available. This release of AMC 2.10 is primarily a bug fix release. The following AMC resources are available to you: See the Java Advanced Management Console Downloads page to download the latest AMC release. See the Advanced Management Console 2.10 Release Notes for a description of the Known Issues and the Fixed Issues included in this release. See the What's New In Advanced Management Console page for a description of the important changes in this release. AMC is a commercial product available as part of Oracle Java Standard Edition (SE) Advanced and Oracle Java SE Suite. AMC helps you manage the use of Java versions and Java applications in your enterprise. Key benefits of using AMC 2.10 include: Usage Tracking: The Advanced Management Console collects information about which Java applications are launched by which Java versions, creating an application compatibility inventory. Usage Tracking can be configured automatically through the Windows Agent, or by using the configuration properties on other platforms. Taking Action: The Deployment Rule Set capabilities enable different Applet and Web Start applications to use different versions of Java installed on clients. This benefits organizations that must use older versions of Java or need many different Java versions for different reasons. MSI Customizations: System Administrators can use the Java Install Customizer tool to repackage MSIs, controlling the way that Java is installed on managed systems.

The Advanced Management Console (AMC) 2.10 release is now available. This release of AMC 2.10 is primarily a bug fix release. The following AMC resources are available to you: See the Java Advanced...

JDK 9.0.4, 8u161, 8u162, 7u171, and 6u181 are Released!

JDK 9.0.4, 8u161, 8u162, 7u171, and 6u181 releases are now available. You can download the latest JDK releases from the Java SE Downloads page. NOTE: There are several items of interest in this CPU release that you should be aware of: Two different JDK 9 bundles have been released in the January CPU release: Oracle JDK 9.0.4 (contains non-public commercial features, deploy, installers, etc.) OpenJDK 9.0.4 (built only from OpenJDK source code) The JDK 9.0.4 Release Notes page provides release notes for both bundles. Content for a specific bundle is presented in the sections that contain either OpenJDK or Oracle JDK in their titles. Changes that apply to both bundles are presented in sections that do not have OpenJDK or Oracle JDK in their titles.   This is the final planned release for JDK 9. Users of JDK 9 should update to JDK 10 between its release in March 2018 and the next planned Critical Update Release in April 2018.   There are only 3 more update releases scheduled for JDK 6 (April, July, and October of 2018). JDK 6 will reach the end of extended support in December 2018.  Applications running on JDK 6 that will remain in operation after December 2018 should be migrated to a newer JDK version as soon as possible. Please see the Oracle Java SE Support Roadmap for details.   See the following release notes for information about the features and fixes included in the JDK 9.0.4, 8u161, 8u162, 7u171, and 6u181 releases: JDK 9.0.4 Release Notes JDK 8u161 Release Notes JDK 8u162 Release Notes JDK 7u171 Release Notes JDK 6u181 Release Notes This release of JDK 8u161 also includes JDK 8u161 for ARM. Information about this product is included in the Java™ Development Kit for ARM Release Notes 8 Update 161.

JDK 9.0.4, 8u161, 8u162, 7u171, and 6u181 releases are now available. You can download the latest JDK releases from the Java SE Downloads page. NOTE: There are several items of interest in this CPU...

Advanced Management Console 2.9 is Released

The Advanced Management Console is a commercial product available as part of Oracle Java Standard Edition (SE) Advanced and Oracle Java SE Suite. The Advanced Management Console helps you manage the use of Java versions and Java applications in your enterprise. Key benefits of using the Advanced Management Console include: Usage Tracking: The Advanced Management Console collects information about which Java applications are launched by which Java versions, creating an application compatibility inventory. Usage Tracking can be configured automatically through the Windows Agent, or by using the configuration properties on other platforms. Taking Action: The Deployment Rule Set capabilities enable different Applet and Web Start applications to use different versions of Java installed on clients. This benefits organizations that must use older versions of Java or need many different Java versions for different reasons. MSI Customizations: System Administrators can use the Java Install Customizer tool to repackage MSIs, controlling the way that Java is installed on managed systems. The Advanced Management Console 2.9 release contains several important bug fixes. See the Advanced Management Console 2.9 Release Notes for a description of the Known Issues and the Fixed Issues in this release. See the What's New In Advanced Management Console page for a description of the important changes in this release.  

The Advanced Management Console is a commercial product available as part of Oracle Java Standard Edition (SE) Advanced and Oracle Java SE Suite. The Advanced Management Console helps you manage the...

General

Advanced Management Console 2.8 is Released

The Advanced Management Console is a commercial product available as part of Oracle Java Standard Edition (SE) Advanced and Oracle Java SE Suite. The Advanced Management Console helps you manage the use of Java versions and Java applications in your enterprise. The key benefits of the Advanced Management Console are: Usage Tracking: The Advanced Management Console collects information about which Java applications are launched by which Java versions, creating an application compatibility inventory. Usage Tracking can be configured automatically through the Windows Agent, or by using the configuration properties on other platforms. Taking Action: The Deployment Rule Set capabilities enable different Applet and Web Start applications to use different versions of Java installed on clients. This benefits organizations that must use older versions of Java or need many different Java versions for different reasons. MSI Customizations: System Administrators can use the Java Install Customizer tool to repackage MSIs, controlling the way that Java is installed on managed systems. The Advanced Management Console 2.8 release contains multiple important bug fixes. Starting Advanced Management Console 2.8, the contents are primarily bug-fix releases only.

The Advanced Management Console is a commercial product available as part of Oracle Java Standard Edition (SE) Advanced and Oracle Java SE Suite. The Advanced Management Console helps you manage the...

JDK 9 Is Released!

JDK 9 has gone live! Download it from the Java SE Downloads page. See What's New in JDK 9 for features and enhancements in this release. See the JDK 9 Release Notes for detailed information about this release. Highlights include the following: Java Platform Module System: This introduces a new kind of Java programing component, the module, which is a named, self-describing collection of code and data. The jshell tool: It provides an interactive command-line interface for evaluating declarations, statements, and expressions of the Java programming language. See Introduction to JShell. Multi-release JAR files: They extend the JAR file format to enable multiple, Java-release-specific versions of class files to coexist in a single archive. See the jar command. Javadoc enhancements: The Javadoc Guide includes information about the addition of a search box in generated API documentation, the updated Doclet API, support for documentation comments in module declarations, and support for generating HTML5 output. Security enhancements: This includes support for the Datagram Transport Layer Security (DTLS) Protocol and Online Certificate Status Protocol (OCSP) Stapling and Certificate Revocation Compiler Control: This provides a way to control Java Virtual Machine (JVM) compilation through compiler directive options. New and updated APIs: These include the Process API and the XML Catalog API See Migrating to JDK 9 for suggestions on how to proceed as you migrate your existing Java applications to JDK 9.

JDK 9 has gone live! Download it from the Java SE Downloads page. See What's New in JDK 9 for features and enhancements in this release. See the JDK 9 Release Notes for detailed information about...

General

Advanced Management Console 2.7 is Released

The Advanced Management Console is a commercial product available as part of Oracle Java Standard Edition (SE) Advanced and Oracle Java SE Suite. The Advanced Management Console helps you manage the use of Java versions and Java applications in your enterprise. The 2.7 version adds the following features: Following features are added to partially support the planned upcoming release of Java SE 9: The Advanced Management Console agents can detect Java SE 9 installations on managed desktops. You can search for Java SE 9 installations on managed desktops in the console. You can search for applications that run with Java 9 in the console. Support for Non-enterprise JREs — Includes the following: Executable (EXE) installers on Windows Disk image (DMG) installers on Mac OS X Desktop group improvements — Include the following: Automatic desktop group updates Desktop groups based on IP ranges Provides the following options: To turn off agent auto updates on managed desktops To export failed Java Usage Tracker records to a file To choose what Java Runtime Environment (JRE) types to track on managed desktops To define a default deployment rule set, which can be deployed to a target automatically, as part of agent installation Updated Documentation for this release is available on the Java Components page.

The Advanced Management Console is a commercial product available as part of Oracle Java Standard Edition (SE) Advanced and Oracle Java SE Suite. The Advanced Management Console helps you manage the...

General

Java Lambda MOOC is Available Again

Java SE 8 (JDK 8) introduced a fundamentally new way of programming in Java with the introduction of Lambda expressions.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?Answers to these questions can be found in Oracle’s Java Lambda MOOC. If you missed the chance to enroll as one of the original 10,000 students from 138 countries, the course materials are now publically available so that you too can join the fun! This 3-week course includes video-lectures with Java expert and champion Simon Ritter (@speakjava), and practical hands-on coding exercises which focus on two major changes to the Java platform: Lambda expressions and the Stream API.Lambda provides a simple way to pass functionality as an argument to another method, such as what action should be taken when someone clicks a button, or how to sort a set of names. Lambda expressions enable you to do this, to treat functionality as a method argument, or code as data.You may have heard about Lambda expressions, and are curious what impact it will have on you as a Java developer. This course is designed to answer your questions and more.--Nick Ristuccia

Java SE 8 (JDK 8) introduced a fundamentally new way of programming in Java with the introduction of Lambda expressions. Have you ever wondered what Lambda expressions are in Java?Have you ever wanted...

Java

HotSpot Serviceability Agent API now available

The Java HotSpot Serviceability Agent API is now available.If you're working in the Java and the JVM landscape, this API will help you understand your applications better by enabling you to dig deeper into the JVM internals. Also, you can write your own debugging tools by extending the HotSpot Serviceability Agent API.For more information about the HotSpot Serviceability Agent API, get a copy of the upcoming book Java® Performance Companion, which is a continuation of Charlie Hunt and Binu John’s classic Java® Performance. It also includes unprecedented details on the Garbage First (G1) garbage collector.This book covers:Leveraging G1 to overcome limitations in parallel, serial, and CMS garbage collectionUnderstanding each stage of G1 GC collections, both young and oldGetting under the hood with G1 and efficiently fine-tuning it for your applicationIdentifying potential optimizations, interpreting experimental results, and taking actionExploring the internals of the HotSpot VMUsing HotSpot VM Serviceability Agent to analyze, triage, and resolve diverse HotSpot VM issuesTroubleshooting out of memory errors, Java level deadlocks, and HotSpot VM crashesExtending the Serviceability Agent and using the Plugin for VisualVMMastering useful HotSpot VM command line options not covered in Java PerformanceThe book will be published on April 29, 2016. Pre-order it at Amazon or InformIT.

The Java HotSpot Serviceability Agent API is now available. If you're working in the Java and the JVM landscape, this API will help you understand your applications better by enabling you to dig deeper...

General

Java One 2015: Java EE 7 In Action [TUT2573]

Today, Reza Rahman, Java EE Evangelist, Oracle presentssession TUT2573,which is about the Tutorial that describes how to develop enterpriseapplications for the Java Platform Enterprise Edition (EE) by using theGlassFish Server Open Source Edition. For more information about GlassFishServer, see https://glassfish.java.net/. The tutorial also describes the new features in Java EE 7 by introducing the CargoTracker application. This end-to-end sample application in based on java.net.From modern Java EE perspective, Cargo Tracker brings back some of the coreconcepts of the J2EE Pet Store effort of past years. Some of the Java EE 7features that are demonstrated in the Cargo Tracker are JMS2, WebSocket,JSON-P, JAX-RS 2, JSF 2.2, JPA 2.1, and Java Batch. An important goal of the Java EE 7 platformis to simplify development by providing a common foundation for the variouskinds of components in the Java EE platform. Developers benefit fromproductivity improvements with more annotations and less XML configuration,more Plain Old Java Objects (POJOs), and simplified packaging. For moreinformation about Java EE7, see the tutorial: https://docs.oracle.com/javaee/7/JEETT.pdf.This session takes place at 8:30 a.m. at the Parc 55—CyrilMagnin II/III.

Today, Reza Rahman, Java EE Evangelist, Oracle presents session href="https://events.rainfocus.com/oow15/catalog/oracle.jsp?event=javaone&search=tut2573">TUT2573,which is about the Tutorial that...

Oracle

Integrated Cloud Applications & Platform Services