OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Meanie on April 21, 2006, 02:45:09 pm

Title: Got Java Plugin For Firefox Working
Post by: Meanie on April 21, 2006, 02:45:09 pm
i just managed to compile it and tested that it can load applets from websites. it looks a bit odd though, a bit too small on the screen, especially the small Z screen. more debugging and hacking needed tomorrow morning. time to sleep.
Title: Got Java Plugin For Firefox Working
Post by: adf on April 21, 2006, 02:57:12 pm
A big step forward nonetheless!  Excellent!
Title: Got Java Plugin For Firefox Working
Post by: stbrock on April 21, 2006, 03:19:54 pm
Meanie -- you continue to quietly post one after another solutions that have eluded a lot of very smart hackers on this forum and that have been requested for years. w00t!
Title: Got Java Plugin For Firefox Working
Post by: Meanie on April 23, 2006, 11:17:55 am
Got it working now! the plugin works very nicely, but unfortunately not all applets work yet. The plugin uses jamvm and classpath, in particular classpath which still has some problems with rendering. Hopefully it will be fixed soon.

Special thanks to Cortez who compiled jamwm and classpath for pdaXrom.
Title: Got Java Plugin For Firefox Working
Post by: anunakin on April 23, 2006, 11:31:41 am
This is the best notice, this week, for pdaXrom users... you are the Man....
Yeah... can you tell us howto do it and share binaries?  
Title: Got Java Plugin For Firefox Working
Post by: Meanie on April 23, 2006, 11:45:42 am
Quote
This is the best notice, this week, for pdaXrom users... you are the Man....
Yeah... can you tell us howto do it and share binaries? 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124268\"][{POST_SNAPBACK}][/a][/div]


see the package announcement thread. yay! my first pdaXrom package
Title: Got Java Plugin For Firefox Working
Post by: anunakin on April 23, 2006, 09:46:26 pm
Quote
Quote
This is the best notice, this week, for pdaXrom users... you are the Man....
Yeah... can you tell us howto do it and share binaries? 
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=124268\")


see the package announcement thread. yay! my first pdaXrom package
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124269\"][{POST_SNAPBACK}][/a][/div]

Thanks!

Yeah! OK now one look on GPLFLASH, if we got Flash Pluging working more fast ... this will be nice...
I think we need only change sources to use less resolution when playing flash  

[a href=\"https://www.oesf.org/forums/index.php?showtopic=17126&hl=gplflash]https://www.oesf.org/forums/index.php?showt...126&hl=gplflash[/url]
Title: Got Java Plugin For Firefox Working
Post by: magicbb on April 24, 2006, 12:00:13 pm
Failed. Firefox closed automatically after browsing java website. Error message:
GLib-ERROR **: The thread system is not yet initialized.
aborting...
/usr/lib/firefox/lib/firefox-1.5/run-mozilla.sh: line 131: 5024 Aborted "$prog" ${1+"$@"}

I am using Pdaxrom beta 3
libconv is from beta 1 feed
Title: Got Java Plugin For Firefox Working
Post by: InSearchOf on April 24, 2006, 12:08:19 pm
Quote
Failed. Firefox closed automatically after browsing java website. Error message:
GLib-ERROR **: The thread system is not yet initialized.
aborting...
/usr/lib/firefox/lib/firefox-1.5/run-mozilla.sh: line 131: 5024 Aborted "$prog" ${1+"$@"}

I am using Pdaxrom beta 3
libconv is from beta 1 feed

I get the same thing... I even tried to visit the site you had visited for your screenshot (PCClock)
Title: Got Java Plugin For Firefox Working
Post by: anunakin on April 24, 2006, 12:28:33 pm
Quote
Quote
This is the best notice, this week, for pdaXrom users... you are the Man....
Yeah... can you tell us howto do it and share binaries? 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124268\"][{POST_SNAPBACK}][/a][/div]


see the package announcement thread. yay! my first pdaXrom package
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124269\"][{POST_SNAPBACK}][/a][/div]

Can you rebuild this for use in pdaXrom Beta 3 ?  
Title: Got Java Plugin For Firefox Working
Post by: netdevil on April 25, 2006, 02:07:20 am
Quote
Failed. Firefox closed automatically after browsing java website. Error message:
GLib-ERROR **: The thread system is not yet initialized.
aborting...
/usr/lib/firefox/lib/firefox-1.5/run-mozilla.sh: line 131: 5024 Aborted "$prog" ${1+"$@"}

I am using Pdaxrom beta 3
libconv is from beta 1 feed
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124378\"][{POST_SNAPBACK}][/a][/div]
I got this message in my C760 1.1.0 beta1 too
Title: Got Java Plugin For Firefox Working
Post by: Meanie on April 25, 2006, 06:44:18 am
did everyone install perl, jamvm 1.4.2 and classpath 0.9?

the way the plugin works is that firefox loads libgcjwebplugin.so which then invokes the gcjappletviewer perl script which in turn calls jamvm which loads classpath and gcjapplet.jar

make sure that jamvm and classpath are correctly configured and can actually run java applications
Title: Got Java Plugin For Firefox Working
Post by: magicbb on April 25, 2006, 10:03:56 am
Quote
did everyone install perl, jamvm 1.4.2 and classpath 0.9?

the way the plugin works is that firefox loads libgcjwebplugin.so which then invokes the gcjappletviewer perl script which in turn calls jamvm which loads classpath and gcjapplet.jar

make sure that jamvm and classpath are correctly configured and can actually run java applications
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124472\"][{POST_SNAPBACK}][/a][/div]

I have installed all ipk, but ...haven't configured jamvm and classpath... do i need to change any configuration file?
Title: Got Java Plugin For Firefox Working
Post by: magicbb on April 25, 2006, 10:18:12 am
Quote
Quote
did everyone install perl, jamvm 1.4.2 and classpath 0.9?

the way the plugin works is that firefox loads libgcjwebplugin.so which then invokes the gcjappletviewer perl script which in turn calls jamvm which loads classpath and gcjapplet.jar

make sure that jamvm and classpath are correctly configured and can actually run java applications
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124472\"][{POST_SNAPBACK}][/a][/div]

I have installed all ipk, but ...haven't configured jamvm and classpath... do i need to change any configuration file?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124503\"][{POST_SNAPBACK}][/a][/div]

i have use the following exports, but still fail
# export PATH=$PATH:/usr/java/jamvm/bin
# export CLASSPATH=/usr/java/jamvm/share/jamvm/classes.zip:/usr/java/classpath/share/classpath/glibj.zip
Title: Got Java Plugin For Firefox Working
Post by: Meanie on April 25, 2006, 10:25:45 am
Quote
Quote
Quote
did everyone install perl, jamvm 1.4.2 and classpath 0.9?

the way the plugin works is that firefox loads libgcjwebplugin.so which then invokes the gcjappletviewer perl script which in turn calls jamvm which loads classpath and gcjapplet.jar

make sure that jamvm and classpath are correctly configured and can actually run java applications
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124472\"][{POST_SNAPBACK}][/a][/div]

I have installed all ipk, but ...haven't configured jamvm and classpath... do i need to change any configuration file?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124503\"][{POST_SNAPBACK}][/a][/div]

i have use the following exports, but still fail
# export PATH=$PATH:/usr/java/jamvm/bin
# export CLASSPATH=/usr/java/jamvm/share/jamvm/classes.zip:/usr/java/classpath/share/classpath/glibj.zip
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124510\"][{POST_SNAPBACK}][/a][/div]

hmm, i really don't know what is wrong here. can you run gcjappletviewer? can it run by itself?
Title: Got Java Plugin For Firefox Working
Post by: anunakin on April 25, 2006, 10:54:45 pm
Tested, works fine for me but we need install firefox and plugins at same mount point!    
Title: Got Java Plugin For Firefox Working
Post by: Meanie on April 25, 2006, 11:35:30 pm
Quote
Tested, works fine for me but we need install firefox and plugins at same mount point!    
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124581\"][{POST_SNAPBACK}][/a][/div]

so where is firefox mounted to, I am assuming my location is not standard then ?
Title: Got Java Plugin For Firefox Working
Post by: magicbb on April 26, 2006, 04:05:15 am
Quote
Tested, works fine for me but we need install firefox and plugins at same mount point!    
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124581\"][{POST_SNAPBACK}][/a][/div]

Are you using beta 3?
Title: Got Java Plugin For Firefox Working
Post by: anunakin on April 26, 2006, 07:17:35 am
Quote
Quote
Tested, works fine for me but we need install firefox and plugins at same mount point!    
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124581\"][{POST_SNAPBACK}][/a][/div]

Are you using beta 3?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124609\"][{POST_SNAPBACK}][/a][/div]

Yes!

1 - pdaXrom 1.1.0-beta3 ...

2- I put this lines at /etc/profile
Code: [Select]
#JAVA CLASSPATH
export PATH=$PATH:/usr/java/jamvm/bin
export CLASSPATH=/usr/java/jamvm/share/jamvm/classes.zip:/usr/java/classpath/share/classpath/glibj.zip

3- My firefox and gcjwebplugin installed at same mount point and this must be a ext3 or ext2 partition

4- Verify if gcjwebplugin has exec attribute.

My HDD has 4 partitions 3 with ext3 and 1 swap
Title: Got Java Plugin For Firefox Working
Post by: magicbb on April 28, 2006, 12:32:04 am
anunakin,

where do you find the libconv package, beta 1 feed?
Title: Got Java Plugin For Firefox Working
Post by: anunakin on April 28, 2006, 07:31:32 am
Quote
anunakin,

where do you find the libconv package, beta 1 feed?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=124892\")

SL-Cxx00
[a href=\"http://zaurus.vivaphp.net/pdaxrom/1.1.0beta2/Zaurus-C1000-C3100/feed/libiconv_1.9.2_armv5tel.ipk]http://zaurus.vivaphp.net/pdaxrom/1.1.0bet....2_armv5tel.ipk[/url]

SL-Cxx0
http://zaurus.vivaphp.net/pdaxrom/1.1.0bet....2_armv5tel.ipk (http://zaurus.vivaphp.net/pdaxrom/1.1.0beta2/Zaurus-7x0-860/feed/libiconv_1.9.2_armv5tel.ipk)
Title: Got Java Plugin For Firefox Working
Post by: telemetric_au on April 28, 2006, 07:33:19 am
i guess there's no chance of this working on 5500 ??
Title: Got Java Plugin For Firefox Working
Post by: anunakin on April 28, 2006, 08:15:49 am
Quote
i guess there's no chance of this working on 5500 ??
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124941\"][{POST_SNAPBACK}][/a][/div]

You go need recompile all thinks to ARMv4 ... or try inquery Meanie about it!  
Title: Got Java Plugin For Firefox Working
Post by: Meanie on April 29, 2006, 01:31:37 am
Quote
Quote
i guess there's no chance of this working on 5500 ??
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124941\"][{POST_SNAPBACK}][/a][/div]

You go need recompile all thinks to ARMv4 ... or try inquery Meanie about it!  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124952\"][{POST_SNAPBACK}][/a][/div]

Ask Cortez  Credit for compiling jamvm and classpath goes to him.
I am doubtful though that your ol Z can handle both firefox and java as both are memory hogs by themselves. The combined memory eaters will definately grind your machine down to a hold even with a huge swap file. I am really pushing my C3000 to run these beasts
Title: Got Java Plugin For Firefox Working
Post by: telemetric_au on April 29, 2006, 02:07:28 am
is there a z version of epiphany or other alternate mozilla based browser... ?

maybe it would work with opera but im not sure if the z version a config section to specify path to java directory/binary as the pc version does...
Title: Got Java Plugin For Firefox Working
Post by: cortez on April 29, 2006, 04:59:10 am
Quote
Ask Cortez  Credit for compiling jamvm and classpath goes to him.
I am doubtful though that your ol Z can handle both firefox and java as both are memory hogs by themselves. The combined memory eaters will definately grind your machine down to a hold even with a huge swap file. I am really pushing my C3000 to run these beasts 
First of all thanks for the great work so far on this meanie, much appreciated!

Before I go into the trouble of getting this to work on the 5500, does "recompile all thinks to ARMv4" mean just recompile with a different cross compiler? I could manage to try that, at least for the JamVM and Classpath packages, although I can't test the binaries on my C750 of course.

As for the memory hog Firefox, I don't understand why it is that we still don't have the latest Minimo running on pdaXrom. I have to admit, I tried compiling it some time ago, without succes... maybe worth a new thread
Title: Got Java Plugin For Firefox Working
Post by: Meanie on April 29, 2006, 05:06:53 am
Quote
Quote
Ask Cortez  Credit for compiling jamvm and classpath goes to him.
I am doubtful though that your ol Z can handle both firefox and java as both are memory hogs by themselves. The combined memory eaters will definately grind your machine down to a hold even with a huge swap file. I am really pushing my C3000 to run these beasts 
First of all thanks for the great work so far on this meanie, much appreciated!

Before I go into the trouble of getting this to work on the 5500, does "recompile all thinks to ARMv4" mean just recompile with a different cross compiler? I could manage to try that, at least for the JamVM and Classpath packages, although I can't test the binaries on my C750 of course.

As for the memory hog Firefox, I don't understand why it is that we still don't have the latest Minimo running on pdaXrom. I have to admit, I tried compiling it some time ago, without succes... maybe worth a new thread
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
 (http://index.php?act=findpost&pid=125059\")

minimo 1.7.12 is in the beta1 feed
[a href=\"http://mail.pdaxrom.org/1.1.0beta1/Zaurus-7x0-860/feed/minimo_1.7.12_armv5tel.ipk]http://mail.pdaxrom.org/1.1.0beta1/Zaurus-...12_armv5tel.ipk[/url]
maybe i should try the plugin against it too.

btw, can your crosscompiler do hardfloats? I could use a hardfloat version of jamvm and classpath for xqt
Title: Got Java Plugin For Firefox Working
Post by: adf on May 03, 2006, 03:29:56 pm
imho minimo ain't that mini , and it ain't that mo either.  It's still a pig and it renders weirdly.  Is the latest and greatest a substantial improvement?
Title: Got Java Plugin For Firefox Working
Post by: adf on May 08, 2006, 03:24:43 pm
The links to the packages are dead. Is there a way to get the requisite ipks still?
Title: Got Java Plugin For Firefox Working
Post by: anunakin on May 08, 2006, 04:29:17 pm
Quote
The links to the packages are dead. Is there a way to get the requisite ipks still?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=126170\")

IPKs here: [a href=\"http://zaurus.vivaphp.net/pdaxrom/java/]http://zaurus.vivaphp.net/pdaxrom/java/[/url]