OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: vanstrien on March 15, 2004, 04:54:30 pm

Title: Cacko - Java working?
Post by: vanstrien on March 15, 2004, 04:54:30 pm
First off, thanks guys for the Cacko rom.  I\'ve been using it for a few weeks now and am really impressed.

One problem is that java isn\'t working for me.  Specifically I get errors referring to cvm.  I\'ve tried a symlink evm to cvm but I still can\'t get it to work.

Has anyone else had similar experiences with the new cacko rom?
Title: Cacko - Java working?
Post by: ccrandal on March 15, 2004, 05:28:58 pm
I ran the command `evm -version` and received and error that /home/QtPalmtop/j2me/bin/cvm was not found.  I don\'t know much about evm or cvm, but perhaps we have a similar problem here.

Curt
Title: Cacko - Java working?
Post by: maslovsky on March 16, 2004, 01:46:40 am
Java is not installed in the ROM. It shold be included on the Japanese CD that comes with Zaurus.
Title: Cacko - Java working?
Post by: ccrandal on March 17, 2004, 01:28:17 pm
Any idea where on the CD it is?  I looked on mine and couldn\'t locate it.

Thanks
Curt
Title: Cacko - Java working?
Post by: zmike on March 17, 2004, 02:10:20 pm
Look for an IPK named something like \"personal-profile\". Believe it or not, that is the java!
Title: Cacko - Java working?
Post by: ccrandal on March 17, 2004, 03:28:00 pm
Cool.  I saw that one, but had NO idea it had anything to do with Java.  Thanks much.

Curt
Title: Cacko - Java working?
Post by: josephand on March 18, 2004, 01:27:21 pm
I don\'t see that on my disk.  I have the c700 though.  Is there somewhere else I can get it?
Title: Cacko - Java working?
Post by: stupkid on March 18, 2004, 01:53:55 pm
You could also use Jeode to run Java Apps.  It\'s in the ZUG downloads section.  I don\'t have my CD handy at the moment te get the personal-profile package.  I\'ve had success with both Jeode and Java Personal Profile on my c860.  YMMV
Title: Cacko - Java working?
Post by: GMan on March 19, 2004, 07:23:07 am
Does the personalprofile only come with the C860?  I am thinking about writing an application and wasn\'t sure how common this VM was in comparison to the Jeode one (PersonalJava1.2).
Title: Cacko - Java working?
Post by: ccrandal on March 19, 2004, 10:58:16 am
Personal-Profile came with my C750.  So I\'d assume it also comes with the C760 as well.
Title: Cacko - Java working?
Post by: GMan on March 19, 2004, 12:49:49 pm
Thanks ccrandal for the info - so at least every one with a C750 or greater can have the PP.  I might write an app with the PP in mind since it has some things that are missing from Jeode and doesn\'t have some of the issues below.

PP seems to pick up the font size from the environment so the default font size on buttons and things are larger than with Jeode.  Another difference is how the VM sizes the window.  I think PP takes into account all the window decorations when you set the window size, while Jeode takes the client area (at least in my observations).   Another weird thing is that the VMs report the screen size differently (640x442 for PP vs 636x440) and Jeode has some occasional issues refreshing the UI.  Before I uninstall Jeode, I\'ll probably see which ones faster through some simple tests.


Anybody setup a java compiler on the Z that has the full PP support?  Right now I am using jdk1.1.8 classes.zip for compilation/classpath.  I know that PP uses a subset of JDK1.3 so I guess I\'ll try to pull classes/compiler from that version - or maybe just trim down the blackdown one so its smaller.
Title: Cacko - Java working?
Post by: stupkid on March 19, 2004, 04:51:59 pm
This might help when generating the appropriate jar:

http://java.sun.com/products/foundation/overview.html (http://java.sun.com/products/foundation/overview.html)
Title: Cacko - Java working?
Post by: GMan on March 20, 2004, 08:50:39 am
I did some simple perf testing between Jeode and Sun.   I took the Jeode package from the ZUG download section and the Sun package from my C860 disk (personalprofile...ipk).  I compiled my simple tests on the Z using Jikes and the 1.1.8 classes.zip and all of my testing relied on the standard Java classes used by both.  I had 4 tests:
much better; the same sounds played by Sun had some static/crackling.
GraphLayout: Jeode displayed more lag than Sun when dragging around the center graph node (which made every other node move).