Eclipse for JNI development and debugging on Linux (Java and C)

selection_166Cross language development in one project

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)”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

The Eclipse Developer’s guide to Clean Code (part 1)

Front_pic“Even bad code can function. But if code isn’t clean, it can bring a development organization to its knees”  — Clean Code

We spent 10 times more time reading code than writing it. Thus keeping code clean is essential for maintainability and company growth, but doing it by hand can be tedious.

Let’s take a look at some of the clean code practices and how we can use Eclipse to re-factor code faster.

Continue reading “The Eclipse Developer’s guide to Clean Code (part 1)”

How to find and fix memory leaks in your Java application

Memory increase

Do you have a Java application that runs fine at first but slows down after a while, or it runs fine for a small number of files but performance degrades for large number of files? Maybe you have a memory leak.

Continue reading “How to find and fix memory leaks in your Java application”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Eclipse EGit for git repo management

Eclipse EGit plugin allows one to perform most every day git operations through the gui. (e.g commit with a sign-off/gerrit ID. View history, hard-reset, difference comparisons, Stashing, branching, etc.. )

The main advantage is that it makes some operations faster than through the command line, (e.g one doesn’t have to type in file names or copy commit-id’s).

Continue reading “Eclipse EGit for git repo management”