开发者

Sun's Wireless Toolkit 2.5.2 on 64 bit Windows

I am having a 64 bit JDK installed on my laptop and to develop J2ME app, I recently installed Sun's WTK 2.5.2. When I m trying to run the project using this wtk, I m getting this err开发者_如何学Pythonor:

java.lang.UnsatisfiedLinkError:

Though my machine had an Intel core i3 processor(64 bits) the error says:

Can't load IA 32-bit .dll on a AMD 64-bit processor

Is there any way to solve this problem? Is there anything else I can do to make J2ME App on my laptop?


I had the same issue.

Solved it by installing a 32 bit java, then re-installing the WTK, During installation it asks you witch JDK to use, then just point to the 32 bit java.


Just install 32-bit JDK and everything will work. General rule is simple: 32 bit applications will use 32 bit JDK, 64-bit will use 64 bit JDK. Since WTK is 32 bit application - it would need 32 bit JDK


Just edit to

C:\PROGRA~2\Java\jre6\bin\java


You have to change to jdk of 32 bits, then you have to edit the file: "$WTK_HOME\bin\emulator.vm" and change the jdk in the first line:

C:\Program Files (x86)\Java\jre1.5.0_22\bin\java
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜