Shaaf's blog

A technical blog about Java, Kubernetes and things that matter

What's new for developers in Java 18

Orignally posted at Red Hat Developers

In exciting news for Java developers, Java 18 forked off from the main line at the end of last year and has entered Rampdown Phase Two. This article highlights some of the features that developers can look for in the upcoming Java 18 release, including the new simple web server module, a more sophisticated way to annotate your Javadocs, and the –finalization=disabled option, which lets you test how a Java application will behave when finalization is removed in a future release. See the end of the article for where to download Java 18 in early access builds.


Deploy Quarkus everywhere with Red Hat Enterprise Linux (RHEL)

Orignally posted at Red Hat Developers

Java is one of the most used languages out there and has been in the top three for the last two decades. Java powers millions of applications across verticals and platforms. Linux is widely deployed in data centers, Edge networks, and Cloud. Today we announce the availability of Quarkus for all our Red Hat Enterprise Linux (RHEL) customers. If you are running RHEL, you can now also run Red Hat Build of Quarkus (RHBQ). By doing this, we enable our customers, partners, and software vendors to use RHBQ in their applications with ease and furthermore enable them to deploy Quarkus for multiple use-cases for Java on Linux. If you are developing applications on a Kubernetes platform like Openshift, you can also use RHBQ with it, and this was announced last year. What is Quarkus and how can I develop and deploy it on RHEL? Learn more in this post.


Setup docker on Fedora 33

I use Fedora as my regular Linux. And I have been doing that for years now, even though I am a developer its simple and straight forward enough to get my way around. It has some great features and spins. You should check it out at Fedora project

Here is a quick list of things that worked for me to setup docker on Fedora 33. I followed the guidelines here. Plus some more to config the firewall and user access.


Creating and deploying a Java 8 runtime container image

Orignally posted at Red Hat Developers

A Java runtime environment should be able to run compiled source code, whereas a development kit, for example, OpenJDK, would include all the libraries/binaries to compile and run the source code. Essentially the latter is a superset of the runtime environment. More details on OpenJDK support and lifecycle can be found here.

Red Hat ships and supports container images with OpenJDK for both Java 8 and 11. More details are here. If you are using Red Hat Middleware, the s2i images shipped are also useful to deploy, for example, on Red Hat Openshift Container Platform.


Install log; fedora 23, Virtualbox and windows 10

I have been using Linux for quite some time now, and jumping from windows xp to windows 10 was a huge change for me. Not just that I had completely forgotten what windows was all about, configs, screens, services. Anyways, I made a quick compilation of how you could run Fedora 23 and on VirtualBox running on windows 10.

Software versions

  • Windows: 10
  • VirtualBox: 5.0.16.x
  • Fedora: 23

Sidetrack tip: Even though the installer was in English , it changed my language to Danish. To change it goto indstillinger/sprog and change the options to English. that worked.