- The Java ME SDK 3.0 isn't available for Linux (yet). Had to settle for Sun Java Wireless Toolkit 2.5.2 for CLDC
- I have a 64-bit version of JDK installed on Arch. Java ME can't work with this. It throws a java.lang.UnsatisfiedLinkError: /opt/WTK2.5.2/bin/sublime.so: /opt/WTK2.5.2/bin/sublime.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
- To fix this, I installed bin32-jre from the AUR
- Then edited the /opt/WTK2.5.2/bin/emulator file (path depending on where you've installed it), and changed the javapathtowtk to /opt/bin32-jre/jre/bin/
- Restarted NetBeans, tested a simple project and it worked!
(Note: The Java ME installer asks for a java path during installation. It may be possible to point it to bin32-java during this time)
4 comments:
Hola Men,muchas gracias por la info, estoy ocupando arch y me sirvio
Genial, me ha venido de perlas la info. Muchas gracias.
thanks!! i was killin ma self over this :D
Oh, good. It's running in my Netbeans now. Thanks. ;-)
Post a Comment