A little progress, thought the group would be interested:
I copied the jython.jar of 2.1a1 over, and tried to run a simple script
f = open('\\temp\\test1.txt', 'w')
print >>f, java.util.Date()
The same script runs okay on pjava emulator on the desktop, but failed
with the following message:
Traceback (innermost last):
File "<console>", line 1, in ?
ImportError: no module named java
in the java console. I noticed that different even from the pjava
emulator, the StrongArm pjava does not have rt.jar or classes.zip, in
stead, it got a larger javai.dll. I guess jython imports from the
classpath, that probably can explain why the import failed while --help
Because WinCE does not provide a command prompt, testing the above
involves either using the "Run" dialog easter egg and typing the whole
pjava command line, or editing a shortcut from a connected desktop.
I also heard about the Visual Age Micro Edition from IBM, the j9 runtime
got a java console that accepts input, and uses classes.zip, so I might
give that a shot tonight.
----- Original Message -----
From: "Brian Zhou" <brian_zhou@...>
Sent: Friday, June 15, 2001 8:13 AM
Subject: [Jython-dev] jython port to PocketPC/Personal Java?
> Just got myself an iPaq 3670, and tried Sun's Personal Java
> http://developer.java.sun.com/developer/earlyAccess/personaljava/ on
> runs okay. This is basicly a Java1.1 runtime without Swing, but awt
> is supported.
> I'm thinking it probably will be really cool to have Jython running on
> of it. That way, I can develop or at least test out my idea w/o the
> an extra PC.
> Will probably give it a try this weekend. But by looking at Pocket
> site http://www.angrygraycat.com/scheme/pscheme.htm , esp.
> http://www.angrygraycat.com/scheme/cestdio.htm it seems WinCE lacks
> doubt Sun's pjava has support in it.
> Can any of the developers give some insight on what area of code I
> look, and what kind of workaround there might be?
> Willing to invest some time to get it working if I can get some help
> the jython team.
> Jython-dev mailing list