aspose file tools*
The moose likes Java Micro Edition and the fly likes How to install Personal Profile application to PalmOS emulator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How to install Personal Profile application to PalmOS emulator" Watch "How to install Personal Profile application to PalmOS emulator" New topic
Author

How to install Personal Profile application to PalmOS emulator

Paul W Lee
Ranch Hand

Joined: Jun 19, 2003
Posts: 40
Hi everyone,
I have implemented an application by using J2ME Personal Profile in Linux, and now am going to install it to PalmOS emulator. however, in the Personla Profile packege offered by the Sun, there is no tools to convert .class files to .PRC.
Would anyone advice me how i should do?
Thank you in advance.
Regards,
Paul
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
In PJava, you do not "convert class file to PRC". You run the PJava VM application (which itself is a PRC app) and it opens a commandline console. Then you run your class files from that console.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
Paul W Lee
Ranch Hand

Joined: Jun 19, 2003
Posts: 40
Originally posted by Michael Yuan:
In PJava, you do not "convert class file to PRC". You run the PJava VM application (which itself is a PRC app) and it opens a commandline console. Then you run your class files from that console.

Hi Yuan,
Thank you so much for your reply.
Now, I still have some questions:
* Dose the "PJava" mean Personal Java or Personal Profile?
* Dose the PJava VM mean CVM of Personal Profile?
* How do I install the PJava VM( or CVM ) and the application classes into the PalmOS emulator so that i can run the application on PalmOS?
Again, thank you for your time and attention. I'm looking forward to hearing from you.

Regards,
Paul
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Originally posted by Paul W Lee:

* Dose the "PJava" mean Personal Java or Personal Profile?
* Dose the PJava VM mean CVM of Personal Profile?
* How do I install the PJava VM( or CVM ) and the application classes into the PalmOS emulator so that i can run the application on PalmOS?

PJava is PersonalJava. The Personal Profile is usually referred to as "PP". But their installation and usage are similar.
As to how to install the VM application into your PDA (be it a Palm RPC or a PPC exe), you need to refer to the product mannual. IBM, Jeode and other vendors have different ways to install the VM and create shortcuts.
Paul W Lee
Ranch Hand

Joined: Jun 19, 2003
Posts: 40
Originally posted by Michael Yuan:

As to how to install the VM application into your PDA (be it a Palm RPC or a PPC exe), you need to refer to the product mannual. IBM, Jeode and other vendors have different ways to install the VM and create shortcuts.

Dose it mean that I have to use some tools, like IBM or Jeode, to install the application?
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Originally posted by Paul W Lee:
Dose it mean that I have to use some tools, like IBM or Jeode, to install the application?

IBM and Jeode make PersonalJava (or Personal Profile) VMs for Palm and PocketPC devices. You have to install those VMs before you can run any Java app on the device. Like I said, the VM themselves are packaged as native (RPC or EXE) applications that can be invoked from the commandline console on the PDA.
Paul W Lee
Ranch Hand

Joined: Jun 19, 2003
Posts: 40
Originally posted by Michael Yuan:

IBM and Jeode make PersonalJava (or Personal Profile) VMs for Palm and PocketPC devices. You have to install those VMs before you can run any Java app on the device. Like I said, the VM themselves are packaged as native (RPC or EXE) applications that can be invoked from the commandline console on the PDA.

Yuan,
Thank you again for your help.
Now I'm using the Sun's Personal Profile Runtime Enviroment to develop my application. Is there any method to install the CVM, the VM offered by the Sun, in to the Palm emulator?

Paul
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
As far as I know, SUN does not offer a free CVM runtime for Palm or PocketPC devices. There has been a petition going on a while ago asking SUN to release such product. But SUN refused, citing hight production costs.
Paul W Lee
Ranch Hand

Joined: Jun 19, 2003
Posts: 40
Originally posted by Michael Yuan:
As far as I know, SUN does not offer a free CVM runtime for Palm or PocketPC devices. There has been a petition going on a while ago asking SUN to release such product. But SUN refused, citing hight production costs.

Oh, God! why dose the Sun release Personal Profile? for funny? hard to believe...
Would you please recommend some free VMs for Personal Profile?
Thank a lots.

Paul
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Well, Sun views J2ME as a specification not a product. Sun is hoping that other companies (device vendors) will take up the task to provide J2ME VMs for their devices. Sun cannot do everything for free. But the success of the Personal Profile has been limited -- so there has been limited choices of VMs.
You can get IBM's WebSphere Micro Environment for $6 -- it is a Personal Profile runtime.
Paul W Lee
Ranch Hand

Joined: Jun 19, 2003
Posts: 40
Originally posted by Michael Yuan:
Well, Sun views J2ME as a specification not a product. Sun is hoping that other companies (device vendors) will take up the task to provide J2ME VMs for their devices. Sun cannot do everything for free. But the success of the Personal Profile has been limited -- so there has been limited choices of VMs.
You can get IBM's WebSphere Micro Environment for $6 -- it is a Personal Profile runtime.


Understood.
Again, thank you for your kindly help.

Regards,
Paul
Paul W Lee
Ranch Hand

Joined: Jun 19, 2003
Posts: 40
Dear Yuan,
Now i have an application based on Personal Profile(successfully compiled, can run in PC runtime envirometn ), and want to run it on a PalmOs emulator. But i dont know how to install this application into an emulator.
would you please help me?
regards,
Paul
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
I have not touched Palm for quite sometime now since their Java support has been very weak. But I think you have to download a Palm emulator and a ROM image from Palm's developer site. Then you can install the IBM WME in it as an RPC application. The WME console should allow you to invoke J2ME applications.
Paul W Lee
Ranch Hand

Joined: Jun 19, 2003
Posts: 40
Originally posted by Michael Yuan:
I have not touched Palm for quite sometime now since their Java support has been very weak. But I think you have to download a Palm emulator and a ROM image from Palm's developer site. Then you can install the IBM WME in it as an RPC application. The WME console should allow you to invoke J2ME applications.

Hi Yuan,
I've been away for several days, and just read your message.Thank you for your reply.
Now i am going to buy a PDA, and run some application developed by Personal Profile. would you give me some advices?
Thank you very much.

Paul
Fernando Sanz
Ranch Hand

Joined: Jun 27, 2003
Posts: 101
Originally posted by Paul W Lee:

Hi Yuan,
I've been away for several days, and just read your message.Thank you for your reply.
Now i am going to buy a PDA, and run some application developed by Personal Profile. would you give me some advices?
Thank you very much.

Paul

Hi Paul,
what kind of PDA do you have in mind?
Fernando
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
I would recommend:
1. Linux PDA (by Sharp and other vendors): Both Jeode and IBM J9 run well on Linux. I think Jeode is installed by factory.
2. PocketPC PDA/phone: You will need to install IBM J9 or Jeode.
3. Palm: Not very good for Java. But IBM J9 works.
If you can live with PerosnalJava or even MIDP, Symbian PDA/phone combos like SonyErricsson P800/900 and/or Nokia Communicator 8100 are good choices too.
Paul W Lee
Ranch Hand

Joined: Jun 19, 2003
Posts: 40
Hi Yuan, Fernando,
Thank you for yor help.
I could buy a Linux PDA, if it supports well to J2ME,particular Personal Profile. i am doing a research program, and the topic is to visualize clustered graph on small screen devices such as PDAs, so AWT package is a must.
Fernando, I saw your message on Sun Forum.J2ME.PersonalProfile. Thank you.
Regards,
Paul
Fernando Sanz
Ranch Hand

Joined: Jun 27, 2003
Posts: 101
Paul,
if you go for a Sharp/Linux, that'll give you lots of flexibility when working on the desktop and PDA at the same time. I've only seen/used it with Jeode, and it was quite good. BTW, what post was the one at the Sun forum?
Michael,
have you ever tried CrEme? if so, what do you think about it? I prefer it over Jeode, becuase it gives you more area on the screen, it's more user-friendly for the developer (since all you need is a .jar file of your own projects), and it's easier to use Swing if you want to. Plus, you get to use a free evaluation copy of the JVM.
Cheers
Fernando
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Originally posted by Fernando Sanz:
Michael,
have you ever tried CrEme? if so, what do you think about it? I prefer it over Jeode, becuase it gives you more area on the screen, it's more user-friendly for the developer (since all you need is a .jar file of your own projects), and it's easier to use Swing if you want to. Plus, you get to use a free evaluation copy of the JVM.

No, I have not tried it -- but will do soon. Thanks. It looks very good except for that it is only available on WinCE/PPC. Do they offer their own Swing library or do you have to copy the JDK 1.3.1 Swing classes over? Also, they talked about "tight native integration". Do they have any special technique to access native methods on the PPC? Those are all very interesting.
Paul W Lee
Ranch Hand

Joined: Jun 19, 2003
Posts: 40
Dear Michael, Fernando,
Dose the Sharp Linux PDAs, Zaurus, have any emulator? I searched the Sharp's website, but could not find any information...
Thank you.

Regards,
Paul
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to install Personal Profile application to PalmOS emulator