Running a .jad file in Mac OSX Lion

I want to run a .jad file in Mac OSX Lion. I tried with Linux WTK 2.5.2 version on Mac and got the following error.

: bin $ ./emulator -Xdescriptor my-jadfile.jad
java.lang.UnsatisfiedLinkError: /Applications/WTK2.5.2/bin/sublime.so: no suitable image found. 
    Did find: /Applications/WTK2.5.2/bin/sublime.so:
    unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x01 0x01 0x01 0x00
    at java.lang.ClassLoader $ NativeLibrary.load (Native Method)
    at java.lang.ClassLoader.loadLibrary0 (ClassLoader.java:1827)
    at java.lang.ClassLoader.loadLibrary (ClassLoader.java:1703)
    at java.lang.Runtime.load0 (Runtime.java:770)
    at java.lang.System.load (System.java:1020)
    at com.sun.kvem.Sublime. (Sublime.java:29)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance (Constructor.java:513)
    at java.lang.Class.newInstance0 (Class.java:355)
    at java.lang.Class.newInstance (Class.java:308)
    at com.sun.kvem.Lime.createLime (Lime.java:40)
    at com.sun.kvem.KVMBridge. (KVMBridge.java:46)
    at com.sun.kvem.KVMBridge.getBridge (KVMBridge.java:37)
    at com.sun.kvem.midp.MIDP.run (MIDP.java:699)
    at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl (EmulatorInvoker.java:107)
    at com.sun.kvem.environment.EmulatorInvoker.main (EmulatorInvoker.java:135)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke (Method.java:597)
    at com.sun.kvem.environment.JVM.main (JVM.java:103)

I'm tired of WTK3, but it doesn't provide the ability to run .jad files directly. Any help on this.

I also tried with an emulator called "mpowerplayer" it can run .jad but there is another problem. I have a date field on a form that is not activated in the emulator.

0


source to share


2 answers


I figured out a way to run it on JME SDK 3 by running an emulator in the bin directory. For me it was in "/Applications/Java_ME_SDK_3.0.app/Contents/Resources/bin".



+1


source


The library you are trying to download (sublime.so) is an ELF library, probably for Linux. It cannot be loaded on OS X.



+1


source







All Articles