This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new!

Re: Writing J2ME applications in Linux

Posted by: Simos Xenitellis on December 19, 2007 02:08 PM
The WTK is currently available only as a 32-bit application. Therefore, if you have a 64-bit Linux system, you need to match the 32-bit WTK with a 32-bit JDK. You install the 32-bit JDK just for the purposes of running the 32-bit WTK.
If you try to use the WTK (32-bit) with the 64-bit JDK, you get some annoying errors; you cannot compile midlets due to the 64-bit JDK. If you install the 32-bit JDK package and enable with something like sudo update-alternatives, then you get the WTK happy to compile but you cannot run the emulator. One would need to switch back and forward. That's why it is good for now, since we only have a 32-bit WTK, to install a custom 32-bit JDK on our 64-bit systems.


Return to Writing J2ME applications in Linux