Author Topic: Java For Oz 3.5.2  (Read 5642 times)

stringfellow

  • Newbie
  • *
  • Posts: 5
    • View Profile
Java For Oz 3.5.2
« 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

vdkuil

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • http://
Java For Oz 3.5.2
« Reply #1 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?

stringfellow

  • Newbie
  • *
  • Posts: 5
    • View Profile
Java For Oz 3.5.2
« Reply #2 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

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Java For Oz 3.5.2
« Reply #3 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/

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

Mahoro

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Java For Oz 3.5.2
« Reply #4 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 :/
Zaurus 5500- 3.5.2 64mb memory
XP- Qtopia 1.7

Kingston CF 512 RAM on FAT
DigitFilm SD 256 RAM on ext2
Panasonic SD 256 RAM <- can't manage to put ext2 in it :(

Targus universal keyboard <- Not working in 3.5.2
Symbol CF wifi <- worked, but have a bump on the back of the card :(
Intel CF wifi <- not working well :(

2 broken stylus...(bought another one in Japan but I broke that within 2 week after. = o o = )
(managed to glue it w/ krazy glue :)

Battery box <-DIY (Stuffs were bought in RadioShack)

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Java For Oz 3.5.2
« Reply #5 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

Mahoro

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Java For Oz 3.5.2
« Reply #6 on: January 17, 2005, 12:10:54 pm »
Thanks guys
It works
Zaurus 5500- 3.5.2 64mb memory
XP- Qtopia 1.7

Kingston CF 512 RAM on FAT
DigitFilm SD 256 RAM on ext2
Panasonic SD 256 RAM <- can't manage to put ext2 in it :(

Targus universal keyboard <- Not working in 3.5.2
Symbol CF wifi <- worked, but have a bump on the back of the card :(
Intel CF wifi <- not working well :(

2 broken stylus...(bought another one in Japan but I broke that within 2 week after. = o o = )
(managed to glue it w/ krazy glue :)

Battery box <-DIY (Stuffs were bought in RadioShack)

ksignorini

  • Full Member
  • ***
  • Posts: 117
    • View Profile
Java For Oz 3.5.2
« Reply #7 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!

rgodinez

  • Newbie
  • *
  • Posts: 7
    • View Profile
Java For Oz 3.5.2
« Reply #8 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.

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Java For Oz 3.5.2
« Reply #9 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

ksignorini

  • Full Member
  • ***
  • Posts: 117
    • View Profile
Java For Oz 3.5.2
« Reply #10 on: January 31, 2005, 12:50:16 pm »
Thanks,

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

Kent!

ksignorini

  • Full Member
  • ***
  • Posts: 117
    • View Profile
Java For Oz 3.5.2
« Reply #11 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!