Author Topic: SOS:Java apss on C860 .....  (Read 4209 times)

chroafjd

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • http://
SOS:Java apss on C860 .....
« on: October 23, 2004, 04:22:25 pm »
Folks,

I am launching an appeal for senior zaurus gurus to help me run java apps on a C860, driven by Cacko 1.20 ROM.

I have tried installing the jeode ipkg as well as the java personal profile from the Zaurus CD, nothing works. None of the demo apps which came with either jeode or the java pp did work.

Some of you might have gone through this before. How do I get java apps to run on the my Z? Which java VM is preferable and how do I invoke it?

Thanks in anticipation,
Ashu

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
SOS:Java apss on C860 .....
« Reply #1 on: October 24, 2004, 07:10:40 am »
A couple of things to check:

Do the binaries exist (i.e. did it install correctly):

/opt/QtPalmtop/bin/evm for Jeode
/opt/QtPalmtop/bin/cvm for Sun Java

Try running them from the command line to check that they start up without lib errors.

Next, look at the script used to start your Java apps; make sure that the right one of these is being called (this is generally only a problem for the Sun implementation as most stuff is designed to call Jeode - you can always just create a symlink from evm to cvm to solve this is you're using Sun Java).

No idea about preference, but hopefully that'll help you track down what's going wrong.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

chroafjd

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • http://
SOS:Java apss on C860 .....
« Reply #2 on: October 24, 2004, 02:16:48 pm »
Si,

Many thanks for your contribution. Much appreciated. Always good to get the opinion of senior Zauri guys on such issues.

I resolved the issue of getting a Java app to run on my C860 device last night. After repeatedly failing to get the Jeode VM to run I did resort to the Sun Personal Profile for Zaurus which is distributed with the C860 machine.

The java app I as trying to run, Jabp, has jeode in it's startup script. I therefore had to edit that script and changed the calling binary to cvm.

How do I create a symlink that wil permanently map evm --> cvm. Are both VM's identical in their functionality?

Cheers,
Ashu

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
SOS:Java apss on C860 .....
« Reply #3 on: October 24, 2004, 03:55:44 pm »
Quote
Are both VM's identical in their functionality?

Not sure. My impression was that cvm was a later version than evm, but you'd be better off waiting for a more authoritative reply :-)

Quote
How do I create a symlink that wil permanently map evm --> cvm.

In the terminal run (not sure whether you'd have to be root or not):

# cd /opt/QtPalmtop/bin
# ln -s cvm evm


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

chroafjd

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • http://
SOS:Java apss on C860 .....
« Reply #4 on: October 24, 2004, 05:00:10 pm »
Thanks again Si.

I am now convinced that the evm installation on my C860 wasn't proper. I installed the jeode-for-oz3_0.4_arm.ipk and most certainly this version is not compatible with the Cacko 1.20 ROM I am using. I get the following error message:

 GC: could not start GC thread
 Unable to initialise the late GC subsystem (phase 2)

The big question is: How do I get a jeode ipkg that is compatible with Cacko 1.20 ROM?

Thanks always,
Ashu

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
SOS:Java apss on C860 .....
« Reply #5 on: October 25, 2004, 05:32:24 am »
Try an earlier version of Jeode? I've seen this error on OZ using the latest version; I went back to the original and it worked. I didn't look into why as it did what I wanted.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

eklem

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • http://www.designpolizei.com/
SOS:Java apss on C860 .....
« Reply #6 on: December 01, 2004, 02:09:35 pm »
I'm running the Cacko 1.21b ROM, and used the version of Jeode I found on the CD that came in the box. All the test-apps that follows works, but I've had some problems with other java-apps made for the 5xxx series.

I've tried to upload it to the download-area here, but had some problem, so instead I've put it up on my own server so you can download it. For some reason the files name is  personal-profile-for-zaurus_1.0-fcs-b25_arm.tar

Hope you get it working!

Edit: Changed the url, the old file is long gone, but I've put up and iso-image of the original installation CD because of some other files.
« Last Edit: January 17, 2008, 08:41:36 am by eklem »
C860 - With Cacko 1.2.1b ROM - 256MB TwinMOS SD & 64MB SanDisk CF - 802.11b Linksys WCF12