OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: stringfellow on December 24, 2004, 07:00:13 pm

Title: Java For Oz 3.5.2
Post by: stringfellow on December 24, 2004, 07:00:13 pm
Hey people,
    having miserably failed with msn in gaim, i decided to try a web client...
But of course... they require Java, dont they!
Wondeful.
As I'm running OZ 3.5.2 (a la Hentges), the Jeode thingy doesnt work, as i need libsl.so.1.. which is Sharp only (i think)...
Erm, i would perform this ... rip ... type operation from the sharp ROM, however...
... Well its all working and i have flashed the Z about 15 times now... its getting boring.


So... basically i was wondering if there are any 'easy' ways to get Java working...
I looked into Kaffe, but seem to be missing the point or something.

Being a bit of a noob at this... so dont really know what i'm doing!

Any help would be appreciated!

-Steve
Title: Java For Oz 3.5.2
Post by: vdkuil on December 26, 2004, 07:33:22 am
Hi,

I have installed jeode on my (standard) openzaurus rom 3.5.2. The only thing "odd" is that you have to tell the libcompat layout the evm executable needs to be "emulated".
I cannot remember installing anything else for this rom.

Maybe there is a difference in default installation between hentges and the default one?
Title: Java For Oz 3.5.2
Post by: stringfellow on December 26, 2004, 07:45:00 am
Hrm... Howdya mean the libcompat thing?
I tried running the libraries settings jobber on the evm binary (just by typing the filepath cos it wasnt anywhere in the list) but it didnt seem to do anything.
Christmas has sorta put a hold on all this so i shall rediscover it a bit later and see if i can figure anything out... BTW, where did you get your jeode ipk from?
-Steve
Title: Java For Oz 3.5.2
Post by: Greg2 on December 26, 2004, 04:15:53 pm
Quote
Hrm... Howdya mean the libcompat thing?
I tried running the libraries settings jobber on the evm binary (just by typing the filepath cos it wasnt anywhere in the list) but it didnt seem to do anything.
Christmas has sorta put a hold on all this so i shall rediscover it a bit later and see if i can figure anything out... BTW, where did you get your jeode ipk from?
-Steve
You will find a good 'jeode-for-oz.ipk.tar.gz' here:

http://me.256k.net/zaurus/jeode/ (http://me.256k.net/zaurus/jeode/)

Unzip and untar the ipk and install with –force-depends from the command line.

Click on the compat-libs icon, and from the menu select file and add:

/opt/QtPalmtop/bin/evm

Click on OK and you have java. Now you can install any java app you need.

Greg
Title: Java For Oz 3.5.2
Post by: Mahoro on January 16, 2005, 10:28:55 pm
How can I install a file that is not w/ the extension ipk ?
I tried doing installation on that, too bad it isn't work :/
Title: Java For Oz 3.5.2
Post by: Greg2 on January 17, 2005, 10:16:16 am
Quote
How can I install a file that is not w/ the extension ipk ?
I tried doing installation on that, too bad it isn't work :/
[div align=\"right\"][a href=\"index.php?act=findpost&pid=62872\"][{POST_SNAPBACK}][/a][/div]

You have to extract the ipk from the archive... but in this particular case you can simply rename it from 'jeode-xxx.ipk.tar.gz' to 'jeode-xxx.ipk' then install it.

Greg
Title: Java For Oz 3.5.2
Post by: Mahoro on January 17, 2005, 12:10:54 pm
Thanks guys
It works
Title: Java For Oz 3.5.2
Post by: ksignorini on January 30, 2005, 02:08:06 pm
If I install Jeode from this package, are the two sample apps that come with it (the icons are already installed as part of the package) supposed to work?

Because for me, they don't.

Thanks,
Kent!
Title: Java For Oz 3.5.2
Post by: rgodinez on January 30, 2005, 05:49:35 pm
Quote
If I install Jeode from this package, are the two sample apps that come with it (the icons are already installed as part of the package) supposed to work?

Because for me, they don't.

Thanks,
Kent!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=64589\"][{POST_SNAPBACK}][/a][/div]

I've found Jeode works better on OZ 3.5.x  not  to making compatible the binary executable 'evm', but running 'makecompat' on the script itself that launches the java app. Examples:

makecompat /opt/QtPalmtop/bin/runquasar
makecompat /opt/QtPalmtoo/bin/runprimtest

Everytime I install a java app I create one script based on the examples above mentioned which come with Jeode, and run makecompat on it.
Doing so, I have happily installed many java apps, like eps (GPS positional app), zaurus-sky-explorer (astronomical chart)...

(makecompat does the same thing as the green&purple icon "Libraries")

Hope this helps,
Rafa.
Title: Java For Oz 3.5.2
Post by: Greg2 on January 31, 2005, 09:58:10 am
Quote
If I install Jeode from this package, are the two sample apps that come with it (the icons are already installed as part of the package) supposed to work?
They work for me, and I also use the zaurus-sky-explorer with the icon.

Try running them from the terminal with:

# runprimtest

If it can't find it, and you have the icons showing you must have used ipkg-link? If not try that first. If you still have problems and I'm 'guessing' you have it installed to your SD-card? Ipkg-link may have missed them because they are parts of a single ipk?

So In that case you must symlink them:

ln -s /mnt/card/opt/QtPalmtop/bin/runprimtest /opt/QtPalmtop/bin/runprimtest


and the same for runquasar

You can however use rdodinez method, but I like to use the icons when I can.

Greg
Title: Java For Oz 3.5.2
Post by: ksignorini on January 31, 2005, 12:50:16 pm
Thanks,

That must be it.  I'll try this later tonight.

Kent!
Title: Java For Oz 3.5.2
Post by: ksignorini on January 31, 2005, 04:28:32 pm
Yes, it looks like I need to makecompat (I used the libraries icon) each java application.

OK.

Thanks,
Kent!