Develop J2ME apps in Ubuntu with Eclipse, EclipseME & Sun Java Wireless Toolkit 2.5.2

1-Download Sun’s Java Wireless Toolkit 2.5.2:
http://java.sun.com/products/sjwtoolkit/download.html

2-Install dependencies (found in the previous link):

yo@notebook# sudo apt-get install libxpm-dev libxt-dev libx11-dev libice-dev libsm-dev libc6-dev libstdc++6-dev

3-Install Sun’s Java Wireless Toolkit 2.5.2. Go to the dir were you downloaded the installer:

yo@notebook# chmod +x sun_java_wireless_toolkit-2_5_2-linux.bin
yo@notebook# ./sun_java_wireless_toolkit-2_5_2-linux.bin

You must enter the location of the JVM (I’m using JDK6 and it is located in /usr/lib/jvm/java-6-sun/bin/) and select a destination dir.

4-Install EclipseME plugin using the instructions found in:
a) http://eclipseme.org/docs/installation.html
b) http://eclipseme.org/docs/installEclipseME.html
c) http://eclipseme.org/docs/configuring.html

They work perfectly!

5-Now go develop some cool app for your mobile :-)

Reference: http://www.gonzalomarcote.com/blog/?p=15





4 Responses to “Develop J2ME apps in Ubuntu with Eclipse, EclipseME & Sun Java Wireless Toolkit 2.5.2”

  1. zongo says:

    Excelente.
    Seguiré visitando tu Vlog

  2. Useful help! Thanks so much! :)

  3. Nagendra says:

    I want to install j2me wirelesstoolkit in ubuntu.as u mentioned above I tried the “sudo apt-get install libxpm-dev libxt-dev libx11-dev libice-dev libsm-dev libc6-dev libstdc++6-dev” cmd in terminal.but it gives “Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    libc6-dev is already the newest version.
    E: Couldn’t find package libstdc++6-dev” this error.
    Please help me to install j2me toolkit.
    Thanks in Advance

  4. leandrodelteso says:

    Nagendra, what version of Ubuntu are you trying to install in? The above written was for Ubuntu 8.10. If you are running another version, you should look for (either with apt-cache search or with Synaptic) the GNU C++ Standard Library (development files). In latest Ubuntu 9.10, this library is called “libstdc++6-4.4-dev”.

    Hope it helps.

    Cheers,
    Leandro

Leave a Reply