PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

JAVA on PPC?

Any information on JAVA and PPCs?

Like, which VM is most commonly used (I tried Personal Java, but its kinda limitted e.g. no swing support)

Any resource pages?Any support? :(

Thanks in advance...
iPaqs come with a Java VM, it's not too bad, but not too great either. The name slips me at the moment, but you can find out about it on Compaq's page. It's used in the PPC client of Wyvern, a Java-based RPG.
I think Jeode is the name...

I was more interesting in any resources.

Why people aren't really bothered with JAVA? :(
Why people aren't really bothered with JAVA? :(


I can think of so many answers to that question ;) .. but I'm not going to start a language-war thread here.
Heh, I tried out the Wyvern client in the Jeode runtime, and it was quite slow (due to the PPCs being underpowered, or the runtime being crap)
Well the Jornada 560's came HP MicroChai VM, which I think was a MIDP runtime that is used by practically nobody. Sun almost ignores Pocket PC (a crappy, unoptimized beta of an outdate Personal Java spec that gets updated once every couple of years). I'm not aware of any good, fast, freely redistributable runtimes for the platform, so why is anyone going to take Java seriously for PPC development? Performance would probably not be too good anyway. Then again, Java isn't taken seriously for consumer targeted app development on the desktop either. Don't get me wrong, I was there back in the Java beta days in 95 and I was in love with the technology and still think its cool, but its visibility and usefulness as a client app development tool has suffered by poor runtime support and Sun having their head up their rear.
A short list,

http://www.comp.lancs.ac.uk/computing/u ... cjava.html

I've tried to download the Java 2.0 for PPC, but I can't seems to figure out which file to download. There is no documentation whatsoever in the Blackdowns ftp folder, just 4-5 criptically labeled files.

If somebody has successfully installed Java 2.0 and make it run, please post info/mini how to. thanks.
Blackdown is a Linux outfit. I think its for a Linux ARM device (There are a few).
Cue · 07 Mar 2003, 22:16 UTC — JDBC
Can u please point me to a jdbc driver for Oracle that i can use on a ppc running personal java?

I tried an Oracle9i 9.0.1 JDBC Driver for use with JDK 1.1 that i downloaded of Oracle's site, but i get a ClassNotFoundException when trying to run an applet that uses the OracleDriver.class although i've set the classpath to point to classes111.zip which is the name of the file with the driver.

Any help appreciated.
What about Ewe?
http://www.ewesoft.com
Bradskey: I *believe* it works on a Linux-enabled iPaq. At minimum, I know there's a package named "java" in one of the feeds.
sponge wrote:
Bradskey: I *believe* it works on a Linux-enabled iPaq. At minimum, I know there's a package named "java" in one of the feeds.


Yes, I would imagine that to be the case. Still no good solution available (that I know of) for Pocket PC proper.
Anonymous wrote:
What about Ewe?
http://www.ewesoft.com


Wow, I've never heard of this, but looks promising for some of you Java-heads wanting to port to Pocket PC. I wonder what the speed is like tho'. :)
I tried Ewe and it is very easy to get started. It has a GUI called Jewel which makes it easy to wrap the application into a single package. You can even wrap the Ewe VM into the package to create a CPU targeted EXE file. Very nice indeed.

I havn't done any actual benchmarking, but there is a compare between Ewe and pJava/Jeode on www.ewesoft.com and Ewe is much faster and tighter.

There is also SuperWaba which I havn't tried yet. Both Ewe and SuperWaba are based on Waba which is a Java clone for small devices (like cell phones).

I'll put my money on Ewe though, since it is targeted for PDA devices. (money is a figure of speach, since Ewe is free!)
I currently use SuperWaba for my mobile Java programming. SuperWaba is very good. It is robust and very fast. I just looked at Ewe and it looks good also. One thing I like is that you can package the program and the vm in one executable. Constumers wouldn't even know the program was written in Java. I don't know how fast it is because I have never seen it on a review/benchmark before. Is this a small project? I would try porting my SuperWaba application over just to try it, but Ewe cannot help me because my application needs to be able to run on PocketPC and PalmOS. It just doesn't run on PalmOS at the moment whereas SuperWaba has run on both from the beginning.

For an example of what SuperWaba can do visit their site http://www.superwaba.com.br or checkout CoursePro, the applicaion that I wrote with SuperWaba. http://CoursePro.pdagrad.com
I tried many JVMs for PocketPC and IBM J9 looked best of all for me. I was looking for JVM wich will allow to use desktop runtime classes and execute desktop applications. With J9 I simply copied rt.jar and tools.jar from JDK 1.4 and ran Java compiler. It was as fast as Java can be on 20 MHz processor. Ewe, SuperWaba, Jeode and others either didn't ran compiler or was tooo slow.

You can download J9 somewhere on IBM website, it's inside some 100mb archive.. I don't remember which.. :roll:
I have never tried J9 but from what I read about it, it is very slow. Here are a couple reasons one user says that J9 is slow:

1. It does not have a JIT therefore it emulates the VM
instruction-by-instruction.
2. The emulation code itself is complied for the 68k, so it has to be emulated on the ARM.
Cratos wrote:
I have never tried J9 but from what I read about it, it is very slow. Here are a couple reasons one user says that J9 is slow:

1. It does not have a JIT therefore it emulates the VM
instruction-by-instruction.
2. The emulation code itself is complied for the 68k, so it has to be emulated on the ARM.


!!!I was talking about PocketPC! There J9 has JIT and of course no problems with processors..