Table of Contents

<--   Back

Setup Java ME Application in 2024

Before iPhone and Android, Java ME1 is the de facto to write mobile application on phone, such as Nokia and Ericsson. Most phone on that era was built-in with Java ME CLDC MIDP, allow us to run Java application and most of them is game.

G cluster_j2me Java ME cluster_jvm  Java Virtual Machine   cluster_kvm  K Virtual Machine   CDC CDC  Foundation Profile    Foundation Profile   CDC--  Foundation Profile   CLDC CLDC MIDP MIDP CLDC--MIDP

This post is about to setup Java ME CLDC MIDP on Linux and Windows.


Some requirements that need to run this old technology on current year.


Install 32-bit library, here packages name on Arch Linux, so try to search equivalent on specific distro:

sudo pacman -S lib32-gcc-libs lib32-libxtst lib32-libxext lib32-libxt lib32-libxrender


Nothing, You good to go.

Java SDK 1.8

Download and install Java SE Development Kit 8u202 x86:

Sun Java Wireless Toolkit 2.5.2

WTK2.5.2 is build tools, utilities, and a device emulator that only support Linux but you can also run it on Windows. Since Java ME 3 has no support for Linux and Java ME 8 has no CLDC and MIDP.

Download and install:

NetBeans 8.2

NetBeans 8.2 IDE is the last version ship with Mobility plugin.

Download and install:

Mobility Plugin

Install mobility plugin: Tools > Plugins > Available Plugins. Check all plugins within Java ME category and install.

Java Platforms

Integrate WTK2.5.2 to NetBeans: Tools > Java Platforms, select Java ME CLDC Platform Emulator, choose WTK2.5.2 directory, next and finish.

Now you can create new project Java Me > Mobile Application and select CLDC and MIDP.


Some snake game I write2.





Open GitHub Discussions