MyDigitalLife

Development Environment

Overview

Most important for Java development is the JDK, the Java Development Kit.
Main tool for Java development is the IDE, for which I use Eclipse. Main reasons why I use this are:

  • Support for EMF (Eclipse Modeling Framework)
  • I have experience with it

JDK

The JDK can be downloaded from https://www.oracle.com/java/technologies/downloads/.
After installing a new JDK version make sure to update the following environment variables:

Variable

JAVA_HOME

Example

C:\Program Files\Java\jdk-23

Eclipse

Eclipse package and plug-ins

The Eclipse package to use is Eclipse Modeling Tools, which can be downloaded from https://www.eclipse.org/downloads/packages/.
Note: With this version starting an application fails. Solution: uninstall the Kotlin plugin.
After installation, add the following plug-ins:

m2e – Maven integration for Eclipse
When installing this from the MarketPlace (in version 2024-06) it says that it is not available. Just click continue anyway.

Android development in Eclipse

The answer is ‘don’t do it’.
There was a time when Eclipse was the most used IDE for Android development, but now adays the support isn’t good anymore. I tried it (februari 2024) and it failed.
Instead use Android Studio.