I’m extremely pleased to announce the latest releases of our Red Hat developer tools, available on multiple platforms. The general theme of this release is expanded usability, product integration, expanded support for Middleware products in Development Suite, plus the brand new addition of Kompose and the DevTools channel for Red Hat Enterprise Linux.
This collection of tools has been assembled into an easy-to-use installer to help software developers quickly and easily put together a development environment to create containerized enterprise Java apps by installing OpenShift on their desktop. The Developer Tools Installer will automatically download, install and configure the selected tools on macOS, Windows and Red Hat Enterprise Linux. Development Suite also simplifies the installation and configuration of EAP, Fuse, and Kompose. As always, it’s available at no-cost from developers.redhat.com/downloads.
Today, Red Hat has released new versions of the following:
What can be done to help the OpenJDK JVM play well in the world of Linux Containers?
I thought I’d start tackling this issue by answering some frequently asked questions:
Why is it when I specify -Xmx=1g my JVM uses up more memory than 1gb of memory?
Specifying -Xmx=1g is telling the JVM to allocate a 1gb heap. It’s not telling the JVM to limit its entire memory usage to 1gb. There are card tables, code caches, and all sorts of other off heap data structures. The parameter you use to specify total memory usage is -XX:MaxRAM. Be aware that with -XX:MaxRam=500m your heap will be approximately 250mb.
I came across Linux in 2005, it was Debian. Then followed a love affair with Ubuntu, for which in March 2009 I purchased a netbook Asus EeePC 1000. In 2010, I began to contribute to ALT Linux participating in the “School Project” and even became a basic256 package maintainer.
The last few years my EeePC with Ubuntu peacefully rested deep in my cupboard. Then there was a chance to clean off the dust. There was a task to get acquainted with CentOS Linux and test examples for my webinar “Apache Ant – quick start”.
In this tutorial style article I’ll discuss how to configure Eclipse for Java Native Interface (JNI) development based on a sample project that you can copy and modify. I.e, you can have a single project that can be both Java and C at the same time, and support a full code navigation and debugging of both languages.
This article is focused on the configuration of Eclipse rather than explaining JNI itself, however there are links to JNI literature at the end.
Continue reading “Eclipse for JNI development and debugging on Linux (Java and C)”