Table of Contents
Setup Java
NOTE:it was proposed to make me quick setup java for my GPR development.
Basic Setup with Java6 JDK
Generally, there are several suites for you choice of java enviroment. I recommend you to install Sun Java, although it is not under GPL. You could directly 'apt-get' the 'sun-java6-jdk' if you use Debian/Ubuntu.
# apt-get install sun-java6-jdk sun-java6-plugin sun-java6-javadb # update-java-alternatives -s java-6-sun
For more information about java, please refer to http://wiki.debian.org/Java.
Eclipse
With the Development Kit you have installed previously, you also need to have an IDE which could integrate with java and its related package. I use Eclipse. I download from its official site. In particular, I select Eclipse Classic as my ideal choice. As an alternative, you also could install it from your source repository, but I had some problem with 'apt' way in the past.
J2ME Setup
The Wireless Toolkit for CLDC, formerly known as Java 2 Platform, Micro Edition (J2ME) is a state-of-the-art toolbox for developing wireless applications that are based on J2ME's Connected Limited Device Configuration (CLDC) and Mobile Information Device Profile (MIDP), and designed to run on cell phones, mainstream personal digital assistants, and other small mobile devices.
Install by following the direction given.
Configuration Eclipse
Install plugin EclipseME.
You can install from update site or from achieve file, it depends on your convience.
Make sure you have install the eclipseme correctly. Go to Preference and Select J2ME, specify the correct directory of WTK which you have previously intalled.
Install ProGuard (Optional)
Download, unpack your download. Specify the obfuscation directory in Preference-J2ME.
Date: 2010-08-31 22:24:01 CST
HTML generated by org-mode 6.33x in emacs 23