Will I be able to use Java code that I developed in Java Standard Edition in a wireless handset? I have created many programs such as calculator, some games, and a metric unit converter. Thanks a lot.
posted 15 years ago
It depends. The classes making up the Jave 2 Micro Edition are "lightweight" versions of their J2SE counterparts. In J2ME, the packages java.lang, java.io and java.util have been stripped a little and the classes have been reduced to a minimum of supported methods. If your applications only use the methods that are present in the J2ME's package then you can go on. But if you are using some methods that are not present in J2ME the preverifier will catch that and won't allow you to go further. Moreover, we'd like you to read the Javaranch Naming Policy and change your publicly displayed name to comply with our unique rule. Thank you for your cooperation.