• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HP Jornada 728 and Sun's Personal Java

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings,
I hope my question is appropriate in this forum; I couldn't find another one in which my question would 'fit' ...
for one reason or another I want to compile some Java programs on my Jornada 728 device. First I downloaded the classes.zip 1.1.8 file from Sun and fired up the chaivm (the built-in vm) using sun.tools.javac.Main as the entry point; it hung up the vm.
Second I downloaded Sun's Personal Java, wince(ARM) edition, the CAB file installed everything quite elegantly, but when I started pjava.exe (the vm), this darn 728 started complaining that it couldn't execute this program???
Is there some kind soul around who can explain to me what I have to do to be able to compile Java sources on my 728 device?
thanks in advance and
kind regards
 
Ranch Hand
Posts: 417
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
for your Jornado you would need a compatible
java runtime or the java virtual machine or
the cdlc as they say it. it is a scaled down version of a full jvm, but has all the important api support like io, networking, lang etc etc
so first make sure that you have the correct compatible java runtime engine installed in your device.
second download the corresponding j2me toolkit for your device (and java runtime) separately on your PC. So that you compile and test run your applications on the toolkit.
once you are sure it runs fine on your toolkit then download to your device ie Jornado in your case.
i hope this helps a bit, though i am also new to the j2me.

Originally posted by Jos Horsmeier:
Greetings,
I hope my question is appropriate in this forum; I couldn't find another one in which my question would 'fit' ...
for one reason or another I want to compile some Java programs on my Jornada 728 device. First I downloaded the classes.zip 1.1.8 file from Sun and fired up the chaivm (the built-in vm) using sun.tools.javac.Main as the entry point; it hung up the vm.
Second I downloaded Sun's Personal Java, wince(ARM) edition, the CAB file installed everything quite elegantly, but when I started pjava.exe (the vm), this darn 728 started complaining that it couldn't execute this program???
Is there some kind soul around who can explain to me what I have to do to be able to compile Java sources on my 728 device?
thanks in advance and
kind regards

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mark: thank you very much for your reply; I must apologize for my late reply (my wife was in hospital this last week). I figured out that I indeed had downloaded the correct vm version (wince 2.11) from Sun, but the installer (the cab file) could'nt figure out what type of machine it was running on. It works fine when it installs in ram, but it fails when it has to install the stuff on a cf storage card.
I manually extracted the correct version of the files and everything works (almost) fine; I can even compile on the device itself, using the sun.tools.javac.Main class in the classes.zip files (version 1.1.8).
There's one thing though, the pjava.exe (vm) pops up a console whenever a System.out or Sytem.err etc. method is invoked. It is as if both foreground and background colors are set to 'white', because the cursor does move from one line to the next, but no output is visible.
I have looked everywhere, but this problem doesn't seem to exist on the predecessor of my Jornada 728 (the 720 came first). Or possibly (which I can't believe), noone else has tried this before.
thanks again for your reply and thanks in advance for any useful ideas you can come up with, 'cause I'm totally stuck at the moment.
kind regards
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic