Author Topic: SLC-860 supports only J2ME PP (?)  (Read 5837 times)

cekin

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
SLC-860 supports only J2ME PP (?)
« on: June 28, 2004, 06:10:32 am »
I've tried to run PocketDesign on a SLC-860, but I've run into problems instead. The application wouldn't launch, intepreter complains that class "java.io.StringBufferInputStream" cannot be found (NoClassDefFoundError).

Research has lead me to Java Programming Guide:
http://www.zaurus.com/dev/support/download...-guide_v110.pdf
which explains that J2ME PP doesn't support some of Java features that were previously available in PersonalJava (such as java.io.StringBufferInputStream).

It seems that on some Zaurus machines (like SL-5500) the original Java was PersonaJava (Jeode by Insignia) with an option to install J2ME PP (from Sun).

Unfortunately SLC-860 is equipped only with J2ME PP, and applications that do not conform to it would not run... Sharp site has some explanations, unfortunately in Japanese:
http://support.ezaurus.com/sl-c860/qa/qa-s...platform-04.asp

If you have an idea how to get PersonalJava running on on SLC-860, please share it.
| SL-C860 | ROM 1.10 JP | ShirtPocket  |
+  PNY SD 512MB  + Origo CF 802.11b

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
SLC-860 supports only J2ME PP (?)
« Reply #1 on: June 28, 2004, 09:54:53 am »
The JeodCreator can be used to extract the Jeode environment from an original 5500 ROM into an .ipk. I doubt it would help you, though, as the hardware is quite different.

Another way to make things work would be to implement the missing classes, package them as a .jar and put it in your CLASSPATH. A StringBufferInputStream doesn't look that difficult (and could be really easy if you used Sun's source code - although that would probably be illegal  ).

Maybe someone somewhere has already created such a .jar so try googling around ("j2me personalJava compatibility layer" perhaps?).

z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
SLC-860 supports only J2ME PP (?)
« Reply #2 on: June 29, 2004, 02:38:13 pm »
You can have both JRE's (J2ME PP and Jeode) at the same time.  Just install the Jeode package from the ZUG downloads:

http://www.zaurususergroup.com/modules.php...eq=getit&lid=38

Then run your app with evm (Jeode) or cvm (J2ME).

Hope this helps!
« Last Edit: November 28, 2004, 04:33:49 pm by stupkid »

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

cekin

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
SLC-860 supports only J2ME PP (?)
« Reply #3 on: June 30, 2004, 06:52:12 am »
The Jeode package installs on SL-C860 and replaces J2ME PP - they both have "evm" executable, so a simple ipkg install does not allow you to have both at the same time. I guess you would just need to rename evm->cvm prior to Jeode installation. PocketDesign now runs, ZX4Z is actually useful - it was extremely slow under J2ME PP.

Anyway, all Java applications for Zarusu that I have seen so far are written for Jeode, so not having J2ME is not a problem.

Thank you for the tip :-)
| SL-C860 | ROM 1.10 JP | ShirtPocket  |
+  PNY SD 512MB  + Origo CF 802.11b

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
SLC-860 supports only J2ME PP (?)
« Reply #4 on: June 30, 2004, 11:51:43 am »
Sorry I have to disagree with you here - J2ME PP does not have "evm", evm on the Cx60 before installing jeode is a bash script that doesn some minor translation and calls /home/QtPalmtop/java/j2me/bin/cvm with whatever arguments you called evm with. Generally this allows programs designed for jeode to work with J2ME PP, but not all.

After installing jeode, which overwrites the evm script, you need to manually make a symlink from /home/QtPalmtop/java/j2me/bin/cvm to /home/QtPalmtop/bin/cvm so that run j2me pp apps using "cvm", while jeode apps can be called via "evm"

I know for a fact that this works (ie installing both J2ME PP and Jeode) on a C760 because I have had both installed for about 2 months now.

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
SLC-860 supports only J2ME PP (?)
« Reply #5 on: July 01, 2004, 11:10:26 am »
Thanks for clearing that up Stubear.  I knew that you could have both installed, but I just got the details of cvm/evm confused.

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
SLC-860 supports only J2ME PP (?)
« Reply #6 on: November 27, 2004, 10:03:09 am »
What are PocketDesign and ZX4Z?  Where can I learn more about them and download them?

Thanks.
Tony Olsen
Ferris@Myself.Com
Resume
Zaurus SL-C860 QTopia
2 GB Static CF
1 GB MMC (although it isn't working yet)
My Quest: To get an x86 emulator working on my Zaurus and to have my Zaurus replace my laptop as my MAIN computer
Publically available Videos for the default Zaurus SL-C860 video player

cekin

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
SLC-860 supports only J2ME PP (?)
« Reply #7 on: November 28, 2004, 02:43:50 pm »
Quote
What are PocketDesign and ZX4Z?  Where can I learn more about them and download them?

PocketDesign is a drawing tool written in Java:
http://vzimmermann.free.fr/pocketdesign/

ZX4Zaurus is a ZX Spectrum emulator for Zaurus, also written in Java:
http://www.killefiz.de/zaurus/showdetail.php?app=295
| SL-C860 | ROM 1.10 JP | ShirtPocket  |
+  PNY SD 512MB  + Origo CF 802.11b

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
SLC-860 supports only J2ME PP (?)
« Reply #8 on: November 28, 2004, 08:50:59 pm »
Ah... thanks!
Tony Olsen
Ferris@Myself.Com
Resume
Zaurus SL-C860 QTopia
2 GB Static CF
1 GB MMC (although it isn't working yet)
My Quest: To get an x86 emulator working on my Zaurus and to have my Zaurus replace my laptop as my MAIN computer
Publically available Videos for the default Zaurus SL-C860 video player