Tuesday Mar 29, 2016

Moving to Garbage First

Garbage First (G1) is likely to become the default collector in Java 9. In this presentation, Kirk Pepperdine shows different case studies on how to use the G1 with your applications. He also demonstrates tips and tricks to work around some of the hiccups. 


In this interview, Kirk Pepperdine shows his Censum performance diagnostics tool from jClarity and describes the state of G1 GC 


Waste Management in JDK 9

“Instead of a simple garbage collector to free up memory, Garbage First (G1) takes the role of a waste management consultant: freeing unused memory and identifying ways to reduce the overall amount of garbage.” explains Eric Costlow in a new blog

Costlow demonstrates how string Deduplication can significantly decrease heap usage. Using the Eclipse IDE, he runs a performance test using Java Flight Recorder to benchmark the results.

Monday Mar 28, 2016

Module System in JDK 9

From original blog post by Mark Reinhold 

The module system (JSR 376 and JEP 261), was integrated into JDK 9 last week and is now available for testing in early-access build 111.

Project Jigsaw is an enormous effort, encompassing six JEPs implemented by dozens of engineers over many years. So far we’ve defined a modular structure for the JDK (JEP 200), reorganized the source code according to that structure (JEP 201), and restructured the JDK and JRE run-time images to support modules (JEP 220).

Like the previous major change, the introduction of modular run-time images, the introduction of the module system might impact you even if you don’t make direct use of it. That’s because the module system is now fully operative at both compile time and run time, at least for the modules comprising the JDK itself. Most of the JDK’s internal APIs are, as a consequence, fully encapsulated and hence, by default, inaccessible to code outside of the JDK.

An existing application that uses only standard Java SE APIs and runs on JDK 8 should just work, as they say, on JDK 9. If, however, your application uses a JDK-internal API, or uses a library or framework that does so, then it’s likely to fail. In many cases you can work around this via the -XaddExports option of the javac and java commands. If, e.g., your application uses the internal sun.security.x509.X500Name class then you can enable access to it via the option

-XaddExports:java.base/sun.security.x509=ALL-UNNAMED 

This causes all members of the sun.security.x509 package in the java.base module to be exported to the special unnamed module in which classes from the class path are defined.

Read more

Tuesday Feb 09, 2016

New Advanced Management Console

Now available is Java Advanced Management Console 2.2! It enables system administrators to easily identify web based Java applications and Java Runtime Environment (JRE) versions across company systems. 

This new version streamlines Java usage across client endpoints for large organizations. The two main improvements are: 

  • Support for zero-configuration endpoints to better handle cases of multi-user systems and walk-up terminals.
  • Simplify the certificates used by endpoints to verify the Deployment Rule Set. 

It provides usage tracking and tools for controlling compatibility and availability of current and older Java installations through deployment rule sets. 

While tracking usage, system administrators can identify and whitelist applications to run with no prompts, and make adjusted configurations with lower end-user involvement with usage tracking. This can simplify various support cases where users need to run different Java applications. 

More information about the Advanced Management Console

Thursday Apr 23, 2015

Announcing Java 8 Update 45

Java™ SE Development Kit 8, Update 45 (JDK 8u45) includes the IANA time zone data version 2015a. This changes will affect the following timezones : the Mexican state of Quintana Roo, Chile, America/Santiago, Pacific/Easter, and Antarctica/Palmer. For more information visit Timezone Data Versions in the JDK 8u45

Check out product manager Aurelio Garcia Ribeyro’s blog about Understanding Time Zone Udpater 2.0 to fully understand how to update to daylight saving time.

Security Baselines
The security baselines for the Java Runtime Environment (JRE) at the time of the release of JDK 8u45 are specified in the following table:

JRE Family Version    JRE Security Baseline
(Full Version String)
Java 8                          1.8.0_45
Java 7                          1.7.0_79
Java 6                          1.6.0_95
Java 5.0                       1.5.0_85

For more information about security baselines, see Deploying Java Applets With Family JRE Versions in Java Plug-in for Internet Explorer.

Tuesday Mar 03, 2015

Announcing Java SE 8 Update 40

Improved performance, scalability and administration in Java SE 8 Update 40 will allow Java developers to innovate faster and improve application services. Here are some features and changes including JavaFX updates: 

JVM Reaction to Memory Pressure: “Memory pressure” is a property that represents the total memory usage (RAM) on the system. This new feature can be leveraged to reduce the amount of memory used on a system where multiple JVMs are deployed and control the amount of memory designated to be consumed by each JVM, avoiding Out of Memory Errors (OOMEs) from occurring.

Improvements to the native packager: Enables developers to create native-feel applications that do not require clients to have an existing Java Runtime installed. These self-contained applications can then be deployed into areas like the Mac app store. The application developer has full control over the runtime and application entry points.

Ability to modernize the JavaFX stack on Mac OS X: The JavaFX media stack has been ported on Mac OS X® from QTKit and Quicktime, which have been deprecated, to the newer AVFoundation framework. With this, developers using the JavaFX media stack can now gain Mac App Store acceptance and have the opportunity to have their applications released on the Mac App Store. 

Nashorn Support: Numerous Nashorn optimizations including support for dynamic languages are incorporated into this release. Also added is a Nashorn Class Filter, which provides fine-grained control over access to Java classes from JavaScript code via a new filtering interface. 

New Time Zone Date Updater Tool: This tool can consume the ‘raw’ time zone data (tzdata) rules from the IANA time zone registry database and convert those to the necessary format required by the JRE. This provides users with the ability to immediately update the JDK/JRE time zone rules with the latest updates from IANA. 

Find out more details in the release notes

Tuesday Jul 15, 2014

Releases: Java SE 8 Update 11 and Java SE 7 Update 65

Oracle has released Java SE 8 Update 11 and Java SE 7 Update 65. Developers can download the latest Java SE JDK and JRE the Oracle Technology Network.

Java SE 8 Update 11

This update release includes the following new features:

  • IANA (Timezone) Data 2014c
  • Java Dependency Analysis Tool (jdeps) 
  • New Java Control Panel option to disable sponsors
  • New JAR file attribute - Entry-Point
  • New JAXP processing limit property - maxElementDepth 

and Bug Fixes. Read the full Release Notes. Download Java SE 8 Update 11.

Java SE 7 Update 65

This update release includes the following new features:

  • IANA (Timezone) Data 2014c
  • New Java Control Panel option to disable sponsors
  • New JAXP processing limit property - maxElementDepth 

and Bug Fixes. Read the full Release Notes. Download Java SE 7 Update 65.

JRE Expiration Date

It is important to note that the JRE expires whenever a new release with security vulnerability fixes becomes available. Critical patch updates, which contain security vulnerability fixes, are announced one year in advance on Critical Patch Updates, Security Alerts and Third Party Bulletin. This JRE (version 8u11) will expire with the release of the next critical patch update scheduled for October 14, 2014. For more information, see JRE Expiration Date.

Next Java SE Critical Path Updates dates that stated in Security Alerts page are:

  • 14 October 2014          
  • 20 January 2015
  • 14 April 2015

About

Insider News from the Java Team at Oracle!

duke
Links


Search

Archives
« May 2016
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    
       
Today