To make J2ME Apps or maybe games, you will need to install OpenJDK (done via `apt install openjdk-xx` xx is the version number), Download the CLDC&MIDP jar files (download them from jarcasting ). Create a new java file for the main program, called HelloMIDlet.java: ``` import javax.microedition.lcdui.*; import javax.microedition.midlet.*; public class HelloMIDlet extends MIDlet { private Display display; private Form form; public HelloMIDlet() { form = new Form("Hello World from J2ME!"); } protected void startApp() { display = Display.getDisplay(this); form.append(new StringItem("Message:", "Hello, World!")); ...
1.Go to Editor -> Manage export template -> Download and install ->Close. 2.Download command-tools cli for linux at https://developer.android.com/studio/ # command-tools . Scroll down until you see the Command line tools section. Then add `export ANDROID_HOME="/path/to/android-sdk"` to your `.bashrc` or `.zshrc` (for other shell, try to edit it accordingly), and unzip the file to: `/path/to/android-sdk/` Example: `$HOME/Android/android-sdk` 3.Download Openjdk latest version. Set JAVA _HOME to your `.bashrc` : `export JAVA_ HOME=$(which java|rev|cut -d'/' -f3-|rev)` Install required tools&packages from sdkmanager: `$ANDROID _HOME/cmdline-tools/bin/sdkmanager --sdk_ root=$ANDROID_HOME "platform-tools" "build-tools;34.0.0" "platforms;android-34" "cmdline-tools;latest"` "cmake;3.10.2.4988404" "ndk;23.2.8568313" You can also choose which version you want to download, just playing around wi...