My photo

J2ME mini howto

  • You need Java Wireless toolkit
  • Create some .java file with class extending MIDlet
  • Compile by javac -target 1.4 -source 1.4 -bootclasspath midpapi20.jar:cldcapi11.jar <> (especially target and source opts are required for running and emulating; use appropriate paths for jars)
  • Verify by preverify -classpath midpapi20.jar:libcldcapi11.jar -d . <class> with corrected paths
  • Run emulator: emulator -cp . <class>
  • Create manifest, jar and jad as usual and upload to the phone and enjoy the fun ;)

EN/CZ dictionary

This is under construction.

Swing example

Copyleft (c) 2008-2016 Jiri Slaby