How To Fixing Problem launching J2ME/JME On Ubuntu 64-bit (X64)
1. Problem
After installed the JME (Java Mobile Editon)/J2ME (Java Micro Edition) in My OS/Ubuntu, But when launching “/home/dnd/WTK2.5.2/bin/ktoolbar” (without quotes) in the terminal is supposed to bring up the JME (Sun Java Wireless Toolkit manager GUI), but instead you get the following error:
dnd@riyaniezt:~$ /home/dnd/WTK2.5.2/bin/ktoolbar Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/java32/jdk1.7.0_40/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1957) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1882) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843) at java.lang.Runtime.load0(Runtime.java:795) at java.lang.System.load(System.java:1061) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1957) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1882) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1087) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.loadLibraries(Toolkit.java:1646) at java.awt.Toolkit.(Toolkit.java:1668) at java.awt.Component.(Component.java:595) at com.sun.kvem.toolbar.Main.main(Main.java:98)
2. Solution
- Install JDK/JRE 32-bit for Ubuntu, view this tutorial to install :
- Reinstall J2ME/JME, view this tutorial to install :
- How To Install and Configure J2ME/Java ME on Ubuntu (Linux)
- Note :
step 5 : you will see a dialog to type path address of the JDK. Type your specify a path of the JDK 32-bit version.
- How To Install and Configure J2ME/Java ME on Ubuntu (Linux)
- Install libxtxt6:i386, run the following commands in terminal to install libxtst6:i386
dnd@riyaniezt:~$ sudo apt-get install libxtst6:i386
- After installation is finish, And then re-launching “/home/dnd/WTK2.5.2/bin/ktoolbar” (without quotes) in the terminal.
3. References
Good Luck ! <DnD>
0 Responses
Free Email Newsletter
Stay Updates with this Blog. Get Free email newsletter updates..
And then confirm your email subcription
No Comment to “How To Fixing Problem launching J2ME/JME On Ubuntu 64-bit (X64)”