Log in

View Full Version : JavaVM


Tierran
10-09-2002, 05:13 AM
Does anyone use their PPC for Java programming? My Jornada CD got left at home and while I'm waiting for it back so I can install HP Chai, I looked around for other options...which were limited. I finally went with SuperWaba as my VM and it seems to be rather flexible (more flexible than Chai) so I may just stick with it.

But now I need a compiler. Any suggestions? :?:

mobileMike
10-09-2002, 06:38 AM
There are 2 other VMs. Insignia's Jeode VM and Sun also had a Beta version of a VM.

When you say compiler, do you mean a compiler for your PocketPC? I found and "IDE" on the web somewhere and then I took it a little further (added a simple text editor, memory usage, and project support) not all my additions work correctly. The problem I had was with inconsistencies between the Sun and the Insignia VMs.

If you mean a compiler for the desktop the above VMs suport Java 1.1.8 so you can download the compiler from Sun's website.

If you mean a compiler for SuperWaba then I don't know I need to check this out. I really want Java on my PDA. Some people may ask why and the answer is because I like to program in Java. Maybe I will like C#, but I am not going to buy Microsoft's developer studio. I want a command line tool and I want to work in Linux. This will probably never happen.

/ mike

Tierran
10-09-2002, 07:13 AM
Thanks for the info Mike..got some more questions too now ;) First, I did look for Jeode because I heard good things about it...but I thought it was only available for the iPaq.

And yes, I mean a compiler for PPC. The reason I'm looking for all of this is because my university is big on Java and it would be much easier for me to do it all on one machine rather than the 3 that I shuttle between currently.

So I'd really like a compiler for the PPC. I'm not sure I follow your solution to that ;)

And as for C#...I used it in a course last semester...I like it a lot. But it is expensive to get into.

Hank Scorpio
10-09-2002, 09:29 AM
I wanted to get a peak at the VM from SUN so I typed sun vm pocket pc in google and I found this link, shows a bunch VM for the Pocket PC and how much they cost or if they're free, check it out...

http://www.comp.lancs.ac.uk/computing/users/fittond/ppcjava.html

Dave Conger
10-09-2002, 05:28 PM
Hot Damn! Nice going Hank...what a nice page!

mobileMike
10-09-2002, 10:11 PM
http://personal.inet.fi/koti/mobilemike/display_2.gif
http://personal.inet.fi/koti/mobilemike/display_1.gif
http://personal.inet.fi/koti/mobilemike/display_3.gif

This is what I was talking about. I spent sometime yesterday and got it to work with Sun's JVM so it should work on several platforms. I just shutdown my computer with the URL to Sun's JVM but it supports MIPS, ARM, and SH3.

If anyone is interested, I will try to create a zip file and some instructions.

The nice part about this utility is that it reloads the files you were previously working on (simple project). It should be able to run the compiled source (tested with Jeode). There is a problem with the ClassLoader though. If you are editing a file which has been previously compiled then you must restart the IDE for the changes to be included in the next compilation. Anyway, the source code is available.

/ mike

Dave Conger
10-10-2002, 02:44 AM
Yay, a compiler for PPC! Though now I am doing Assembly programing in class so this is little good to me.

If you have a chance, email me the ZIP or a link.

Adam
10-10-2002, 12:24 PM
I like it. Would it be possible to get a copy of the zip file, if you knock it up?

mobileMike
10-10-2002, 12:39 PM
A 2MB zip file can be obtained from this URL.

http://personal.inet.fi/koti/mobilemike/javacw.zip

It will look a little different. I made some more changes after doing some additional testing with Sun's JDK. Make sure to read the included README.txt, I tried to put everything I know there including where to get Sun's JDK. Of course I will try to answer any questions too.

Finally, please do not be too harsh on my programming skills. This was just thrown togather.

/ mike

Adam
10-10-2002, 05:14 PM
Many thanks. I've downloaded it and will have a look over the next couple of days. If I do spot any improvements I'll let you know, immediately after I've recovered from my surprise. :wink: