在Mac OSX Lion中运行.jad文件 [英] Running .jad file in Mac OSX Lion

查看:220
本文介绍了在Mac OSX Lion中运行.jad文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Mac OSX Lion中运行.jad文件.我在Mac上尝试使用WTK 2.5.2 linux版,并收到以下错误.

I want to run a .jad file in Mac OSX Lion. I tried with WTK 2.5.2 linux edition on mac and got the below 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)

我对WTK3感到厌倦,但是它没有提供直接运行.jad文件的选项.请对此提供任何帮助.

I tired with WTK3 but it does not give an option to run the .jad files directly. Any help on this please.

我也尝试过使用名为"mpowerplayer"的仿真器,它可以运行.jad,但存在另一个问题.我在表单中有一个日期字段,该字段未在模拟器中启用.

I have also tried with an emulator called "mpowerplayer", it is able to run the .jad but there is a different issue. I have a date field in the form which is not getting enabled in the emulator.

推荐答案

我想出了一种通过在bin目录下执行模拟器在JME SDK 3上运行它的方法.对我而言,它位于"/Applications/Java_ME_SDK_3.0.app/Contents/Resources/bin"中.

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

这篇关于在Mac OSX Lion中运行.jad文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆