k***r 发帖数: 4260 | 1 想在Palm上弄一个RDP Client,J2SE的jar不能run。不知是否有行家帮忙重新编译一把
。 |
b******y 发帖数: 9224 | 2 不是做这个的。偶是做server side java的 |
k***r 发帖数: 4260 | |
t*******e 发帖数: 684 | 4 Palm上的是IBM的J9, 就相当与desktop Java1.3, 缺少了很多的libraries. 仅当你的
desktop程序是Java1.3compiler编译的,才有可能运行. |
k***r 发帖数: 4260 | 5 这东东有个Java 1.3编译的。但是还想仍然不能直接丢进去。J9不认。估计GUI方面也
有些类没有。
http://www.elusiva.com/opensource/ |
t*******e 发帖数: 684 | 6 You need to make a JAD file with a deployment descriptor. |
k***r 发帖数: 4260 | 7 J9好像可以直接import jar? Anyway, I tried a tool that generates jad file and
I still wasn't able to get it to work. 请问jar里面用到GUI classes的时候,在
mobile device上能工作吗?那个RDP client有窗口等等,还要显示远端内容。所以不
是很有信息能直接工作。 |
t*******e 发帖数: 684 | 8 下载j9带demo JAD文件, 用winzip之类的打开,依葫芦画瓢,就可以了,j9仅支持awt,
swt,有swing的话不能运行。 |
k***r 发帖数: 4260 | 9 好像jar的结构不太一样。J2ME的声明文件与J2SE不同。我会再试试
得到.jar和.jad之后,要把这两个文件放在一个web site上吗?在同一个目录下?这么
问是因为J2运行起来之后,有个install按钮,然后问URL。 |
k***r 发帖数: 4260 | 10 又试了一把,放在web server上了,J9把Jar下载下来了,然后显示:
AMS Error
The application descriptor was missing the required MIDlet-Name field. |
|
|
c*****y 发帖数: 562 | 11 It depends on whether your J9 is CDC or CLDC. It seems that you are using
CLDC/MIDP J9.
CLDC classes have one extra preverification step. Classes compiled under
Java SE will not be able to run.
Palm has discontinued the J9 JVM (CLDC/MIDP) for a while.
",j9仅支持awt,swt,有swing的话不能运行。"
CDC has AWT.
CLDC does not have any of those UI packages. It only supports LCDUI, which
is very limited UI designed for cell phones. |
c*****y 发帖数: 562 | |
k***r 发帖数: 4260 | 13 Then mine is probably CLDC, although I totally have no idea what CLDC and
CDC mean. Is there a CDC JVM for Palm?
No, I haven't tried VNC client. I prefer RDP because I don't have to install
a server on it. |
t*******e 发帖数: 684 | 14 J9 comes with 2 flavors, CLDC/MIDP or CDC/PP, one for low end wireless
device with limited resource (like mono color screen) and network
connectivity, the other is close to the full desktop Java environment. |
k***r 发帖数: 4260 | 15 It took me quite a while to find the download I have, since Palm pulled it.
It wasn't from Palm or IBM. I wonder if IBM still has it for download? |
e****o 发帖数: 76 | 16 J2SE的jar 跟 J2ME的jar 完全是两码事,如果Palm支持J2ME, 你就需要用Sun WTK 或
Eclipse ME 编一个jar, MIDP library 跟 J2SE 的library 差别很大,基本上就是
一个全新的application
【在 k***r 的大作中提到】 : 想在Palm上弄一个RDP Client,J2SE的jar不能run。不知是否有行家帮忙重新编译一把 : 。
|
k***r 发帖数: 4260 | |
t*******e 发帖数: 684 | 18
CDC/PP和J2SE1.4接近,jar也是一样的,一般两个平台上都能运行的。
【在 e****o 的大作中提到】 : J2SE的jar 跟 J2ME的jar 完全是两码事,如果Palm支持J2ME, 你就需要用Sun WTK 或 : Eclipse ME 编一个jar, MIDP library 跟 J2SE 的library 差别很大,基本上就是 : 一个全新的application
|
k***r 发帖数: 4260 | |
t*******e 发帖数: 684 | 20 J9 has two versions, one for CLDC/MIDP, the other for CDC/PP. |
|
|
k***r 发帖数: 4260 | 21 Thanks totempole. You mentioned that earlier. But I failed to find official
download of J9 for Palm. The version I downloaded from some unofficial place
does not appear to have the version that's compatible with J2SE. Any idea
where I can find the version that's compatible? |
t*******e 发帖数: 684 | 22 IBM WebSphere Micro Environment Java Virtual Machine
official name of J9, google search should help you to find the download link
. |
k***r 发帖数: 4260 | 23 This is the closest link I can find regarding J9 download. But Palm download
is not available :(
http://www-128.ibm.com/developerworks/websphere/zones/wireless/weme_eval_runtimes.html |