Author Topic: Java In Pdaxrom  (Read 10195 times)

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Java In Pdaxrom
« on: November 13, 2006, 05:05:36 pm »
Hello,

what is currently the best way to install a Java runtime in pdaXrom 1.1.0beta3? Should be stable and as compatible as possible.
Just to execute some Java programs. No development needed (yet).

Thanks

Daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

ULhume

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://artisan.karma-lab.net
Java In Pdaxrom
« Reply #1 on: November 13, 2006, 05:15:58 pm »
Quote
Hello,

what is currently the best way to install a Java runtime in pdaXrom 1.1.0beta3? Should be stable and as compatible as possible.
Just to execute some Java programs. No development needed (yet).

Thanks

Daniel
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146205\"][{POST_SNAPBACK}][/a][/div]

Depends on what you need to run. Cortez (make a search) made some nice package of JamVM and Classpath . About compatibility, this is Java, so everything is just working (as far as I tried for 1 year now). But it can be verrryyy long. As an example, I tried Azzurus (why not ? ;-) and It never arrived... Memory limitation is the bigger problem, specially for graphical applications. But for an SWT, simple application, it's working very nicely on my SL-C1000.

One other point, it seems for me to be much smoother on r121 than beta 3 that is quite outdated (old 2.4 kernel).

By the way, is Sashz read this, is there any home to have NPTL included in next release ? For java people it would be so great !

PS: that's funny, it is the second question about java (one in french forum, one here) in just half an our ? is this the GPL effet ? ;-)
« Last Edit: November 13, 2006, 05:17:20 pm by ULhume »

mjotad

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • http://
Java In Pdaxrom
« Reply #2 on: November 14, 2006, 04:28:08 am »
Quote
Quote
Hello,

what is currently the best way to install a Java runtime in pdaXrom 1.1.0beta3? Should be stable and as compatible as possible.

Depends on what you need to run. Cortez (make a search) made some nice package of JamVM and Classpath .

As ulhume says, the best way at the moment seems to be to install JamVM 1.4.2 and Gnu classpath 0.90.

I've been trying to get Freemind, a fairly large Java mindmapping program, to work under pdaxrom with the jamvm + classpath combination. I can get it to start up, but not to load files, which I think is because classpath doesn't have xml support compiled in.
I've tried to compile classpath 0.91 with xmlj support enabled but the compile aborts, and since I don't know much about programming in general and zero about java programming I'm stuck.
It's a shame, because if I could get Freemind working then I would have all the important functionality of my desktop duplicated on my Zaurus (C3200 with beta3).

Do any  zaurus java gurus have any suggestions for getting Freemind to work?

ULhume

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://artisan.karma-lab.net
Java In Pdaxrom
« Reply #3 on: November 14, 2006, 04:52:28 am »
Quote
Quote
Quote
Hello,

what is currently the best way to install a Java runtime in pdaXrom 1.1.0beta3? Should be stable and as compatible as possible.

Depends on what you need to run. Cortez (make a search) made some nice package of JamVM and Classpath .

As ulhume says, the best way at the moment seems to be to install JamVM 1.4.2 and Gnu classpath 0.90.

I've been trying to get Freemind, a fairly large Java mindmapping program, to work under pdaxrom with the jamvm + classpath combination. I can get it to start up, but not to load files, which I think is because classpath doesn't have xml support compiled in.
I've tried to compile classpath 0.91 with xmlj support enabled but the compile aborts, and since I don't know much about programming in general and zero about java programming I'm stuck.
It's a shame, because if I could get Freemind working then I would have all the important functionality of my desktop duplicated on my Zaurus (C3200 with beta3).

Do any  zaurus java gurus have any suggestions for getting Freemind to work?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146229\"][{POST_SNAPBACK}][/a][/div]

I'll try to see is freemind is working with my build of JamVM/Classpath, in the mid-time (I know it is not a solution if you really like freemind), I build vym (View Your Mind) for Zaurus if you are interested.

ULhume

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://artisan.karma-lab.net
Java In Pdaxrom
« Reply #4 on: November 14, 2006, 05:20:28 am »
Ok, I tried freemind and this is not working. I'm missing libjavalangreflect.so. I'll se later if this was a classpath option that I missed.

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Java In Pdaxrom
« Reply #5 on: November 14, 2006, 06:35:01 am »
Quote
PS: that's funny, it is the second question about java (one in french forum, one here) in just half an our ? is this the GPL effet ? ;-)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146206\"][{POST_SNAPBACK}][/a][/div]

Indirectly:
The GPL thread reminded me of that open topic. I wanted to install Java for a long time, but did not need it badly yet. Now I just wanted to ask.


Thanks for the reply. I'll then try JamVM and classpath. I found it in Meanie's feeds (where else   )

Regarding Freemind:
Don't you think this will be terribly slow?
It is already not the fastest on the desktop...

I have not found a good mindmapping solution for the Zaurus, so I switched to outlining. This has the advantage that the screen space is used more efficiently. However, you don't have the mindmapping-typical layout.


The notecase outliner will be THE outliner for pdaXrom, as the author is currently working on a lot of Zaurus-specific issues. We are still constantly optimizing it.
I think version 1.2.8 is now out and working nicely on the Zaurus, but it still needs some fixes and features.

Notecase is also available as a Windows/GTK version.

daniel
« Last Edit: November 14, 2006, 06:41:40 am by daniel3000 »
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

mjotad

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • http://
Java In Pdaxrom
« Reply #6 on: November 14, 2006, 07:40:16 am »
Quote
I'll try to see is freemind is working with my build of JamVM/Classpath, in the mid-time (I know it is not a solution if you really like freemind), I build vym (View Your Mind) for Zaurus if you are interested.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146231\"][{POST_SNAPBACK}][/a][/div]

Many thanks for trying this. I have vym installed on the Zaurus already and it's a nice program but I have probably fifty mind maps made with freemind which I use regularly and I really don't want to have to try to convert them all, and I also have to share them with colleagues using Windows so the cross-platform nature of Freemind is useful.

daniel3000: yes, I expect that Freemind would be slow on the zaurus (although I don't really find it so on my desktop), but I would plan to use it more to visualise maps made on the desktop than to produce complicated maps on the zaurus itself. I've also tried using the freemind applet with the gcjplugin but I can't get that to load a map either.

I also use outlining (with Tuxcards) but it serves a complimentary role to the mindmaps rather than being a substitute.

ULhume

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://artisan.karma-lab.net
Java In Pdaxrom
« Reply #7 on: November 14, 2006, 09:01:50 am »
Quote
Many thanks for trying this. I have vym installed on the Zaurus already and it's a nice program but I have probably fifty mind maps made with freemind which I use regularly and I really don't want to have to try to convert them all, and I also have to share them with colleagues using Windows so the cross-platform nature of Freemind is useful.
You're welcome. By the way, vym *is* cross plateform, that's the very reason I'm using it actually. It is based on Qt and for (poor ;-) windows user : http://www.kriener.de/index.pl/vym4win

btw, where did you find vym package, I was searching for it when I finally decided to build mine.

ULhume

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://artisan.karma-lab.net
Java In Pdaxrom
« Reply #8 on: November 14, 2006, 09:10:25 am »
Quote
Thanks for the reply. I'll then try JamVM and classpath. I found it in Meanie's feeds (where else   )
What is this so *well known* Meanie's feed ?!?


Quote
I have not found a good mindmapping solution for the Zaurus, so I switched to outlining. This has the advantage that the screen space is used more efficiently. However, you don't have the mindmapping-typical layout.
Same answer, try vym. Last version (1.8.1) comes far quicker and with nicer UI. I'll have to spend a bit of my time tweaking this annoying toolbars in order to make a bigger room for Z screens but it is really usable, not just about usable.

My last build is here ( http://www.karma-lab.net/zaurus/vym_1.8.1_armv5tel.ipk ).

PS: Please be carefull if you peek something else in this feed, is quite *expermental* for some of them. I'm trying to make a reliable builder like bitbake for pxr but result is not always as predictable as it should

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Java In Pdaxrom
« Reply #9 on: November 14, 2006, 10:13:08 am »
Here is a link to the thread with the JavaVM and Classpath

https://www.oesf.org/forums/index.php?showtopic=19626&

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Java In Pdaxrom
« Reply #10 on: November 14, 2006, 11:08:21 am »
Quote
What is this so *well known* Meanie's feed ?!?

This one.

Quote
Same answer, try vym. Last version (1.8.1) comes far quicker and with nicer UI. I'll have to spend a bit of my time tweaking this annoying toolbars in order to make a bigger room for Z screens but it is really usable, not just about usable.

My last build is here ( http://www.karma-lab.net/zaurus/vym_1.8.1_armv5tel.ipk ).

[div align=\"right\"][a href=\"index.php?act=findpost&pid=146248\"][{POST_SNAPBACK}][/a][/div]

Thanks. I will try it again.
The last version I tried on the Z was 1.7.0.
Speed was only one of the problems. Nice if this is solved.
The toolbars were too large indeed, and what annoyed me was also that it (IIRC) uses a binary file format, making file interchange with other progrms hard or impossible (without going through import/export processes).

It would be great if you could work on the screen layout.

Please keep us updated about your vym progress!

Thanks
daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

ULhume

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://artisan.karma-lab.net
Java In Pdaxrom
« Reply #11 on: November 14, 2006, 04:04:57 pm »
Quote
This one.
Wow, bookmarked

Quote
Thanks. I will try it again.
The last version I tried on the Z was 1.7.0.
Speed was only one of the problems. Nice if this is solved.
The toolbars were too large indeed, and what annoyed me was also that it (IIRC) uses a binary file format, making file interchange with other progrms hard or impossible (without going through import/export processes).
no no no )) This is not binary at all, it is exactly like openDocuments, just unzip them and you'll see that everything is inside, xml, pictures, etc...


Quote
It would be great if you could work on the screen layout.
Please keep us updated about your vym progress!
np

ULhume

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://artisan.karma-lab.net
Java In Pdaxrom
« Reply #12 on: November 14, 2006, 04:08:38 pm »
Quote
Here is a link to the thread with the JavaVM and Classpath

https://www.oesf.org/forums/index.php?showtopic=19626&

Late
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146250\"][{POST_SNAPBACK}][/a][/div]
Unfortunaly this one is a bit outdated, last evolutions in jamvm/classpath includes java 1.5 specifications, and that is a must )

The one in my feed is ok but need some rework :
missing symlinks from *.so.1.0.0 => *.so
and need to create a fake /usr/local/classpath path to symlink /usr/share/classpath/lib & bin
But this excepts, it's working. This classpath/Jamvm stuff is just a great piece of software !

mjotad

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • http://
Java In Pdaxrom
« Reply #13 on: November 15, 2006, 02:39:14 am »
Quote
The one in my feed is ok but need some rework :
missing symlinks from *.so.1.0.0 => *.so
and need to create a fake /usr/local/classpath path to symlink /usr/share/classpath/lib & bin
But this excepts, it's working. This classpath/Jamvm stuff is just a great piece of software !
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146283\"][{POST_SNAPBACK}][/a][/div]

Can I ask what version of pdax you used to compile classpath? I looked into compiling classpath 0.92 for pdax beta3 but it seemed as though I would have to upgrade a lot of gtk and other libraries. Do you know if your version should work on beta 3?
Many thanks for the vym ipk. 1.8.1 is much nicer than 1.7! If I can come up with a filter to convert freemind maps to vym I'll be very tempted to change.

ULhume

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://artisan.karma-lab.net
Java In Pdaxrom
« Reply #14 on: November 15, 2006, 04:03:09 am »
Quote
Can I ask what version of pdax you used to compile classpath? I looked into compiling classpath 0.92 for pdax beta3 but it seemed as though I would have to upgrade a lot of gtk and other libraries. Do you know if your version should work on beta 3?
Many thanks for the vym ipk. 1.8.1 is much nicer than 1.7! If I can come up with a filter to convert freemind maps to vym I'll be very tempted to change.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146311\"][{POST_SNAPBACK}][/a][/div]
Sure you can ask ;-)

Classpath was built with b121. I'm amazed by how many people still use b3, perhaps this is about problems I just don't have on my machine. Anyway, normaly it should work on b3, just give it a try.

By the way, after exchanging with some of you, I split my feed in two parts. Now classpath as it is today (with symlink problems) is in "not-tested" feed, "stable" feed is what I use on everyday base.

About vym, I don't know freemind, but if this is XML, why not using an XLST sheet in order to make the conversion and submit it to the author ? Perhaps just ask him before if he's already in the process of writing it but this can help.