My thoughts on Slackware, life and everything

Tag: oracle (Page 1 of 2)

Java updates for 2024Q3

It’s time again for the (security and stability) updates to various Java versions. Oracle releases their JDK code updates in a quarterly cycle defined by “the Tuesday closest to the 17th day of January, April, July and October” and OpenJDK follows suit.

I uploaded new packages for OpenJDK versions 11 and 17 to my Slackware repository. Once there’s a new release for IcedTea, I will also build new OpenJDK 8 packages.

All of these Java packages are nowadays targeting Slackware 15.0 and newer. So, get one of these if you have a need for it (and do not install more than one of them):

  • OpenJDK 11.0.24_8 (aka the 11.0.24 General Availability release) comes as an openjdk11 package.
  • OpenJDK 17.0.12_7 (aka the 17.0.12 General Availability release) comes as an openjdk17 package.

Have fun!

Eric

Update 29-July:
I have also uploaded the new OpenJDK 8u422_b05 packages for Slackware 15.0 and newer. Install either the JDK or the JRE package (the Java Runtime Environment is included in the Java Development Kit).
I built these using the IcedTea 3.32.0 framework.

OpenJDK11 has been added to my repository

For ages, I have had Java 7 and Java 8 packages in my repository. I compile these versions of Java from the OpenJDK sources and using the icedtea framework.

People have been asking about more recent versions of Java, in particular Java 11 and Java 17 are required more and more by software projects. So far, I have been hesitant, since icedtea still only supports Java 7 and 8. Writing a new build script from scratch is a lot of work and Java gives little reward.

Eventually, I have decided to build Java 11 packages regardless, main reason being that LibreOffice seems to need it to enable functionality in Base. Therefore expect the next update of my LibreOffice packages to have been compiled against OpenJDK11.

Note that I will not be creating separate JRE (Java Runtime Environment) packages. The JDK (Java Development Kit) is what you’ll get from me. It contains everything you need to compile and run Java programs. Don’t forget to logout and login again after installing openjdk11, since it installs a profile script which is sourced during login.

Packages are on slackware.com or on my NL or US mirror.

I took some inspiration from the SBo script maintained by Lenard Spencer, to save time, but in the end my script ended up quite different. I credited Lenard in my own script though.

$ java -version
openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8)
OpenJDK 64-Bit Server VM (build 11.0.16+8, mixed mode)
$ javac -version
javac 11.0.16

Now let’s see if I can stay op top of security updates… Andrew Hughes has been doing a stellar job of informing me about the icedtea releases that prompted me to update my openjdk/openjre packages.

October ’21 updates for OpenJDK 7 and 8

icedteaThe newly released icedtea 2.6.28 and 3.21.0 build OpenJDK 7u321_b01 and OpenJDK 8u312_b07 respectively. These releases include the October 2021 security fixes for Java 7 and 8 from Oracle.

Here is where you can download the latest Slackware packages for openjdk7 and openjre7 (Slackware 14.1 and newer):

… and openjdk and openjre version 8 (Slackware 14.1 and newer):

Rsync access via rsync://slackware.nl/mirrors/people/alien/slackbuilds/

The “rhino” package (implementation of the JavaScript engine used by OpenJDK) is an external dependency for OpenJDK 7, you can find a package in my repository. If you want to compile OpenJDK yourself you will need apache-ant as well.

Note about usage:

My Java 7 and Java 8 packages (e.g. openjdk7 and openjdk… or openjre7 and openjre) can not co-exist on your computer because they use the same installation directory. You must install either Java 7 or Java 8.

Remember that I release packages for the JRE (runtime environment) and the JDK (development kit) simultaneously, but you only need to install one of the two. The JRE is sufficient if you only want to run Java programs (including Java web plugins). Only in case where you’d want to develop Java programs and need a Java compiler, you are in need of the JDK package.

Enjoy! Eric

Security updates for OpenJDK 7 and 8

icedteaAs you know, I use the IcedTea framework to compile my openjdk/openjre packages. Andrew Hughes (aka GNU/Andrew) who is the release manager has announced new versions of IcedTea: 2.6.13 which builds Java7 (OpenJDK 7u171_b02) and also icedtea-3.7.0 for Java8 (OpenJDK 8u161_b12). These releases sync the OpenJDK support in IcedTea to the January 2018 security fixes for Java.

The announcements will surely be posted on Andrew’s blog soon, but for now I leave you with the posts to the “distro-pkg-dev” mailing list: icedtea-2.6.13 and icedtea-3.7.0. These posts contain the list of security issues that have been fixed.

As always, it is very much recommended that you upgrade your OpenJDK or OpenJRE packages to the latest version.

Here is where you can download the Slackware packages for openjdk and openjre (this is Java8):

And the Slackware packages for openjdk7 and openjre7 (Java7 for those who still need this):

Note that the “rhino” package (implementation of the JavaScript engine used by OpenJDK) is an external dependency for OpenJDK 7, you can find a package in my repository.

If you want to compile OpenJDK (Java 7 or 8) yourself you will need apache-ant as well.

Note about usage:

My Java 7 and Java 8 packages (e.g. openjdk7 and openjdk… or openjre7 and openjre) can not co-exist on your computer because they use the same installation directory. You must install either Java 7 or Java 8.

Remember that I release packages for the JRE (runtime environment) and the JDK (development kit) simultaneously, but you only need to install one of the two. The JRE is sufficient if you only want to run Java programs (including Java web plugins). Only in case where you’d want to develop Java programs and need a Java compiler, you are in need of the JDK package.

OpenJDK updated to 7u95_b00

icedteaVersion 2.6.4 of IcedTea was released last week. The IcedTea “build harness” for OpenJDK will compile OpenJDK 7 “Update 95 Build 00“. In Slackware terminology: here is the package openjdk-7u95_b00. The release synchronizes with Oracle’s January 2016 updates to OpenJDK. Read more about the release on the blog of release maintainer Andrew Hughes.

This is the list of security fixes and CVE‘s which have been addressed and fixed in this release.

Note about usage:

Remember that I release packages for the JRE (runtime environment) and the JDK (development kit) simultaneously, but you only need to install one of the two. The JRE is sufficient if you only want to run Java programs (including Java web plugins). Only in case where you’d want to develop Java programs and need a Java compiler, you are in need of the JDK package.

The Java package (openjre as well as openjdk) has one dependency: rhino provides JavaScript support for OpenJDK.

Optionally: If you want to use Java in a web browser then you’ll have to install my icedtea-web package too. While Oracle’s JDK contains a browser plugin, that one is closed-source and therefore Icedtea offers an open source variant which does a decent job. Note that icedtea-web is a NPAPI plugin – this prevents use of Java in Chrome & Chromium because those browsers only support PPAPI plugins, but you’ll be OK with all Mozilla [-compatible] browsers of course.

Download locations:

Have fun! Eric

« Older posts

© 2024 Alien Pastures

Theme by Anders NorenUp ↑