This topic might be very strange to anyone who has no/very little knowledge of J2ME phones. But for those brave hearts who found this topic with the intention to create J2ME MIDlets, then you are at the right place! You might have configured Sun Wireless Toolkit on your Windows PC and struggled to set it up on your Linux system.
By the way, I chose the distro Mint specifically because that
Note: Well I did say “Linux system”, didn’t I? It’s true, you can set it up on your Ubuntu, Fedora, Gentoo, etc.
Downloading Wireless Toolkit
First, you’d have to download the Toolkit if you don’t have it.
Scroll down and click on “Download”.
See the boxed option below? Click that.
You’ll be asked to sign in to your Oracle Account. If you don’t have it, sign up with your email. And you’re done.
Installing Wireless Toolkit:
Before proceeding, do you have the official JDK 32-bit from Oracle (not 64-bit; even if your system is equipped with 64-bit architecture) installed on your system? If no click this link How to install Oracle JDK on Linux Mint. Once you’ve set it up come back and proceed below.
Note: If you are wondering why not 64-bit for better performance? Well because you simply cannot assume your device has 64-bit architecture :P. Truth is J2ME is a highly stripped down version of J2SE 1.2 only for the sake of fulfilling the need of resource-limited computing device. Of course, you could still install the toolkit under JDK 64-bit and run it. Soon your work will be halted when you realize the toolkit fails to compile, build and run your MIDlet.
Now, you’re all set to install Sun Java Wireless Toolkit on your Mint. Browse to the directory where you’ve downloaded the toolkit (probably under ~/Downloads/), right click and select “Open in Terminal”, then follow the images below -
Keep pressing ENTER until you get to this -
End of Line (EOL)!
Running Wireless Toolkit
This will be a tedious work for you from now on since you have to keep browsing to the ~/bin directory using nemo just to run ktoolbar. Or:
There are other ways to overcome that remedy, for instance, you could specify the custom path of execution using the terminal, see this: Set path permanent. Otherwise, use this method of mine to create a desklet for ktoolbar.
And you’re done. Click that launcher: be amazed and kiss your elbow if the toolbar logo is printed on your screen. Carry on your J2ME journey.
Now the specific issue
Most of you might’ve set up a standard user account and under that account, you might’ve followed my tutorial through.
But if you are that guy/gal who hates to wait for (slow) MDM to load up and instead preferred to log into the default (Administrator) account on boot-up then you might’ve run into this specific issue.
You might’ve got this output:
sun_java_wireless_toolkit-2.5.2_01-linuxi486.bin.sh: command not found
You’re in luck because that happened to me too. Here’s what you’ve got to do:
mv sun_java_wireless_toolkit-2.5.2_01-linuxi486.bin.sh sun_java_wireless_toolkit-2.5.2_01-linuxi486.bin
And voilá! Go back up to Running Wireless Toolkit to finish your work.
So that’s it. Setting up the wireless toolkit for your Mint. And yes 0.1 in a 100% there is a probability that someone still uses that aged phone, believe me, I still have s40 Nokia Asha with me not because I get to experience featured apps from Gameloft but… um… uh… forget it! Well, it surely does outlive those eye-candy smartphones for a week on a full charge!
Submit your topic