October 2015 Java releases

Java 9 (next)

New Java version is under development. Preliminary JDK versions and information can be found at https://jdk9.java.net/

Java 9 general availability is planned for September 2016.

Java 8 (current)

Java 8 is the current Java version.

Java 8 JDK/JRE update 65/66 (8u65/8u66) has been released. In addition to several fixes, this release does include additional currencies (fund codes) support. Release 66 bug fixes set is bigger.

Complete release notes can be found here.

JDK 8 can be downloaded here.

Java 7 (end-of-life)

Java 7 79/80 is the last public release. Updates are available for Oracle commercial customers only.

JDK 7u80 can be downloaded from Java 7 Archive downloads.

Java 6 (end-of-life)

Java 6 45 is the last public release. Updates are available for Oracle commercial customers only.

JDK 6u45 can be downloaded from Java 6 Archive downloads.

Advertisements

April 2015 Java releases

Java 9

New Java version is under development. Preliminary JDK versions and information can be found at https://jdk9.java.net/

Java 8

Java 8 is the current Java version.

Java 8 JDK/JRE update 45 has been released. This is mainly a bug fix release. No new functionalities have been introduced.

Complete bug fix list can be found at http://www.oracle.com/technetwork/java/javase/2col/8u45-bugfixes-2494164.html

JDK 8 can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Java 7

Java 7 79/80 is the last public release.

As happened for the latest realese, also latest Java 7 update is splitted in two releases:

  • Update 79 which includes critical security updates only
  • Update 80 which includes 79 updates plus a new command line option to detect deprecated mechanisms: endorsed-standards and extensions.

Endorsed-standards is a way to update Java core to the latest version of non Java standards. Extensions allows us to extend the Java core with new libraries and functionalities. Both mechanism have been declared deprecated and they will be phase-out in the next future. The option introduced in Java 7u80 detect if these mechanisms have been used i our environments.

Update 79 release notes can be found at http://www.oracle.com/technetwork/java/javase/7u79-relnotes-2494161.html

Update 80 release notes can be found at http://www.oracle.com/technetwork/java/javase/7u80-relnotes-2494162.html

JDK 7 can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Still using JAVA 6 and previous versions ? Have a look at  http://www.oracle.com/technetwork/java/javase/archive-139210.html

Jan 2015 Java releases

Java 9

New Java version is under development. Preliminary JDK versions and information can be found at https://jdk9.java.net/

Java 8

Java 8 is the current Java version.

Java 8 JDK/JRE update 31 has been released. In addition to several fixes, this release disables by default the SSLv3 protocol which has been found to have a design defect which cannot be solved. If you’re curios about it, have a look here.

Complete bug fix list can be found at http://www.oracle.com/technetwork/java/javase/2col/8u31-bugfixes-2389095.html

JDK 8 can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Java 7

Latest Java 7 update is splitted in two releases:

  • Update 75 which includes critical security updates only

  • Update 76 which includes 75 updates plus some other minor updates.

Both updates disable by default the SSLv3 protocol.

Update 75 bug fixes can be found at http://www.oracle.com/technetwork/java/javase/7u75-relnotes-2389086.html

Update 76 bug fixes can be found at http://www.oracle.com/technetwork/java/javase/7u76-relnotes-2389087.html

JDK 7 can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Remember that Java 7 JDK is planned to go to end-of-life on April 2015.

Latest Java updates

Java 9

New Java version is under development. Preliminary JDK versions and information can be found at https://jdk9.java.net/

Java 8

Java 8 is the current Java version.

Java 8 JDK/JRE update 25 has been released. It includes security fixes only so it is suggested to be installed whenever it is possible.

Complete bug fix list can be found at http://www.oracle.com/technetwork/java/javase/2col/8u25-bugfixes-2298227.html

JDK 8 update 25 can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Java 7

First two important news about Java 7:

Latest Java 7 update is splitted in two releases:

  • Update 71 which includes critical security updates only
  • Update 72 which includes 71 updates plus some other minor updates.

Oracle suggests to migrate to update 71 unless you are affected by problems fixed in 72 update.

Update 71 bug fixes can be found at http://www.oracle.com/technetwork/java/javase/7u71-relnotes-2296187.html

Update 72 bug fixes can be found at http://www.oracle.com/technetwork/java/javase/7u72-relnotes-2296190.html

JDK 7 update 71 and 72 can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Tips: NetBeans on Ubuntu

Ubuntu Linux is a very nice software development platform and NetBeans fit very well in it.

Nevertheless few tips can make our developer life easier. These tips can be applied to other Linux distributions.

1. Do not use apt-get

Apt-get is the Ubuntu/Debian tool to download and install programs from the repositories.

It should not be used to install the tools you need for development, NetBeans included.

Reasons:

  • Repositories contains old versions
  • Dependencies force you to install not needed or incompatible software

Get installation files from the main sources and install them manually in a common dir like /opt.

2. Install NetBeans on a user writable dir

NetBeans needs to update files in its own installation directory during software updates. I suggest to use /opt as the main installation dir.

If /opt is now user writable, execute the following command

sudo chmod 777 /opt

3. Watch the /tmp size

NetBeans use /tmp for temporary operations like, for example, updating Central Maven repository information. While doing this update, NetBeans saves big temporary dirs under /tmp and the update fails if /tmp has no space available.

The /tmp dir is usually small when it is mounted on a dedicated partition.

Reserve at least 1.5GByte free space on the /tmp.

See Bug 162313 for more details.

4. Save NetBeans cache in RAM

NetBeans saves configuration, user preferences and project files status in the NetBeans user dir which is located in $HOME/.netbeans/<version>.

Part of this information, mainly related to projects is considered to be a cache (= it can be recreated if deleted); the cache can be located in a separated dir with the command line –cachedir.

With at least 4 GByte RAM, we can map the cache dir to a temporary RAM on disk using Ubuntu native ram filesystem.

My preferred approach is to

– mount the /tmp to a tmpfs type filesystem, by adding the following line in the /etc/fstab

tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=2048M 0 0

This will “map” the /tmp dir into RAM up to 2GByte (see tip #3).

– map the cachedir to a /tmp/ subdir, by creating a NetBeans invocation script as the following:

#!/bin/sh
export VERSION=netbeans-8.0.1
export RAMDISK=/tmp/$VERSION
export OPTIONS=" --cachedir $RAMDISK --laf Nimbus "
/opt/$VERSION/bin/netbeans $OPTIONS &

The script will invoke NetBeans with the appropriate options.

Note: I like Nimbus on Ubuntu Unity user interface.

5. Use a SSD drive

SSD drives are an impressive speed improvement. Software development requires reading and writing hundred of files. Speed is essential to have quick feedback during our test and compilations cycles.

The SSD drive can be your main hard drive or an external one (possibly on a fast USB connections). Just place both NetBeans installation dir and your projects files on the SSD unit.

Remember to add noatime option on the mount instructions (see /etc/fstab) to avoid useless write access to the disk.

New Java releases: 8u20 and 7u67

 JDK 8

After the 8u11 release on mid of July, Oracle has released JDK 8u20 which includes several new and updated tools and a significant amount of bug fixes.

Java Mission Control has been updated to version 5.4. JMC is a tool to monitor and collect data from running applications and Java run-time environments.

AMC (Advanced Management Console) is a Java applications and versions usage collector and analysis tool. It requires a commercial license.

Another commercial product is the new JRE installer for Windows which fully support MSI technology.

Nice feature for 64bit users is in the Java Control Panel where we can select to automatically update  both 32bit and 64bit JRE.

Complete release notes can be found at http://www.oracle.com/technetwork/java/javase/8u20-relnotes-2257729.html

Bug fixes: http://www.oracle.com/technetwork/java/javase/2col/8u20-bugfixes-2257730.html

By the way, the famous Java 8 bugs which affected several third party tools like jRebel (see for example http://www.infoq.com/news/2014/08/Java8-U11-Broke-Tools) has been fixed. See https://bugs.openjdk.java.net/browse/JDK-8051012 for details.

JDK 7

New update also for Java version 7: 7u67. This version only includes the bug fix for the verifier regression (see above).

Complete release notes can be found at  http://www.oracle.com/technetwork/java/javase/7u67-relnotes-2251330.html

JDK 6
Java 6 and previous versions are at end of life stage so they are no more updated.