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


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