View previous topic :: View next topic |
Author |
Message |
int1 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 08 Nov 2002 Posts: 139
|
Posted: Fri Nov 15, 2002 3:10 pm Post subject: Working mozilla 1.1 with plugins |
|
|
For all those still struggling, I finally got mozilla 1.1 to work with flash and java plugins. Here are my steps:
1. Remove openmotif and lesstif temporarily if they are installed:
- emerge -C openmotif
- emerge -C lesstif
2. Install mozilla 1.1:
- cd /usr/portage/net-www/mozilla
- USE="-gtk2" emerge mozilla-1.1-r1.ebuild
3. Install sun-jdk:
- emerge sun-jdk
- java-config -list-available-vms [look for the sun-jdk package]
- java-config --set-system-vm=sun-jdk-1.4.1.01 [or the latest sun-jdk]
4. Install flash plugin:
- emerge netscape-flash
5. Install j2sdk:
- emerge sun-j2sdk [make sure you have the r2 ebuild]
6. Reinstall openmotif and lesstif if they were installed
- emerge openmotif
- emerge lesstif
That's it! I hope this helps!
int1 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
absi n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Nov 2002 Posts: 6
|
Posted: Sat Nov 16, 2002 6:42 pm Post subject: |
|
|
yippie, java works again - and took only 3 hours to compile...
thx for the instructions,
absi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
El_Presidente_Pufferfish Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/137914715845049738b55a6.gif)
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Sat Nov 16, 2002 9:59 pm Post subject: |
|
|
Works for me too :- D |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Exci Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/14297692943e6a34b14cb45.jpg)
Joined: 12 Jul 2002 Posts: 265 Location: The Netherlands, Zoetermeer
|
Posted: Sun Nov 17, 2002 12:39 am Post subject: |
|
|
forget the script I wrote here, .. stupid post .. it's late :s |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TheCoop Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/50962178541c2cd784cf26.jpg)
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Nov 17, 2002 8:56 am Post subject: |
|
|
excellant ![Cool 8)](images/smiles/icon_cool.gif) _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dompie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/d5540e753dd9b41a2d43d.jpg)
Joined: 19 Nov 2002 Posts: 1
|
Posted: Tue Nov 19, 2002 3:44 am Post subject: Re: Working mozilla 1.1 with plugins |
|
|
int1 wrote: | 5. Install j2sdk:
- emerge sun-j2sdk [make sure you have the r2 ebuild]
|
* Java 2 SDK Source <http://wwws.sun.com/software/java2/download.html>
From Sun's website, download the following files:
- j2sdk-1_4_0-src-scsl.zip
- j2sdk-1_4_0-motif-linux-i386.zip
- j2sdk-1_4_0-mozilla_headers-unix.zip
I tried to register and to download these files, but I didn't succeed. Can somebody mirror these files on a FTP please?
Thanks, _________________ Michael |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zhenlin Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 09 Nov 2002 Posts: 1361
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
wowtip n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Monkey.gif)
Joined: 03 Oct 2002 Posts: 16
|
Posted: Wed Nov 20, 2002 7:41 pm Post subject: Hmmm |
|
|
Hm, the files "j2sdk-1_4_0-src-scsl.zip" and "j2sdk-1_4_0-motif-linux-i386.zip" doesnt't seem to be downloadable from there anymore? I got the first file from there, but can't seem to find the last two on that page. A search in sun's downloads didn't give much info either. ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20113
|
Posted: Wed Nov 20, 2002 8:01 pm Post subject: |
|
|
Moved from Newbies. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zhenlin Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 09 Nov 2002 Posts: 1361
|
Posted: Thu Nov 21, 2002 10:01 am Post subject: |
|
|
Try to find the mozilla headers under the Mozilla binaries section. Find the source files under the update-1.4.0 section. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
graadz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/33656586340506a722d220.jpg)
Joined: 12 Aug 2002 Posts: 55 Location: Enschede, Netherlands
|
Posted: Thu Nov 21, 2002 9:32 pm Post subject: Re: Working mozilla 1.1 with plugins |
|
|
Just wondering why do you need to install 2 JDKs: 1.4.1_01 and 1.4.0?
One is pre-build: 1.4.1_01 and the other one you compile it yourself. Doesn't seem logical to me.
G
int1 wrote: | For all those still struggling, I finally got mozilla 1.1 to work with flash and java plugins. Here are my steps:
1. Remove openmotif and lesstif temporarily if they are installed:
- emerge -C openmotif
- emerge -C lesstif
2. Install mozilla 1.1:
- cd /usr/portage/net-www/mozilla
- USE="-gtk2" emerge mozilla-1.1-r1.ebuild
3. Install sun-jdk:
- emerge sun-jdk
- java-config -list-available-vms [look for the sun-jdk package]
- java-config --set-system-vm=sun-jdk-1.4.1.01 [or the latest sun-jdk]
4. Install flash plugin:
- emerge netscape-flash
5. Install j2sdk:
- emerge sun-j2sdk [make sure you have the r2 ebuild]
6. Reinstall openmotif and lesstif if they were installed
- emerge openmotif
- emerge lesstif
That's it! I hope this helps!
int1 |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
HotShotDJ Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/87822464843835b1502a0e.gif)
Joined: 06 Nov 2002 Posts: 166
|
Posted: Fri Nov 22, 2002 12:10 am Post subject: Re: Working mozilla 1.1 with plugins |
|
|
graadz wrote: | Just wondering why do you need to install 2 JDKs: 1.4.1_01 and 1.4.0?
One is pre-build: 1.4.1_01 and the other one you compile it yourself. Doesn't seem logical to me. | This is because the source code for 1.4.0 has a "circular dependancy." It requires that you have java installed in order to compile java from source. Both sun java 1.4.1_01 and blackdown 1.4.1_beta satisfy this dependancy. Once you have compiled java 1.4.0 from source (and tested it, of course) you can remove the original one. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rajendra82 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1862f4fc3dd7d2532f803.jpg)
Joined: 04 Aug 2002 Posts: 46
|
Posted: Fri Nov 22, 2002 12:33 am Post subject: It won't work here |
|
|
I was able to follow all of these steps. But java and mozilla are still not working together for me. While before, my mozilla just kept prompting me for a plugin when visiting a page with java. Now a visit to the same page just closes it completly . No error reports, no seg fauls, in the blink of an eye mozilla just disappears. So now I have checked the box that says disable java. The end result is no improvement from before. ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MrJ412 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry.gif)
Joined: 10 Apr 2002 Posts: 39 Location: Shawnee, KS
|
Posted: Fri Nov 22, 2002 8:06 am Post subject: Success! |
|
|
Worked perfectly! Thanks for the little howto! ![Cool 8)](images/smiles/icon_cool.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
graadz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/33656586340506a722d220.jpg)
Joined: 12 Aug 2002 Posts: 55 Location: Enschede, Netherlands
|
Posted: Fri Nov 22, 2002 8:47 am Post subject: Re: Working mozilla 1.1 with plugins |
|
|
Understood. But still, why two JVMs? I mean, step 3 already installs a JDK for you. Why would you want a second one?
The only thing you need to do, if you would skip step 5, is to make a softlink to the plugins directory of mozilla:
# ln -sf /opt/sun-jdk-1.4.1.01/jre/plugin/i386/ns600/libjavaplugin_oji.so \
/usr/lib/mozilla/plugins/libjavaplugin_oji.so
G
HotShotDJ wrote: | graadz wrote: | Just wondering why do you need to install 2 JDKs: 1.4.1_01 and 1.4.0?
One is pre-build: 1.4.1_01 and the other one you compile it yourself. Doesn't seem logical to me. | This is because the source code for 1.4.0 has a "circular dependancy." It requires that you have java installed in order to compile java from source. Both sun java 1.4.1_01 and blackdown 1.4.1_beta satisfy this dependancy. Once you have compiled java 1.4.0 from source (and tested it, of course) you can remove the original one. |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zhenlin Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 09 Nov 2002 Posts: 1361
|
Posted: Fri Nov 22, 2002 9:13 am Post subject: |
|
|
sun-jdk is gcc-2.9x compatible. In other words, no java plugin.
sun-j2sdk is compatible with any gentoo system.
sun-j2sdk has some java sources that need to be compiled by a java compiler. I think they are probably critical VM or JDK components. Otherwise, it could just use the already compiled javac. It's like needing gcc to make gcc. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
int1 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 08 Nov 2002 Posts: 139
|
Posted: Fri Nov 22, 2002 10:57 pm Post subject: Re: Working mozilla 1.1 with plugins |
|
|
That doesn't work on systems running gcc 3.2, such as the gentoo v1.4rc currently out. Hence the instructions above.
Glad to help everyone out!
int1
graadz wrote: | Understood. But still, why two JVMs? I mean, step 3 already installs a JDK for you. Why would you want a second one?
The only thing you need to do, if you would skip step 5, is to make a softlink to the plugins directory of mozilla:
# ln -sf /opt/sun-jdk-1.4.1.01/jre/plugin/i386/ns600/libjavaplugin_oji.so \
/usr/lib/mozilla/plugins/libjavaplugin_oji.so
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rajendra82 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1862f4fc3dd7d2532f803.jpg)
Joined: 04 Aug 2002 Posts: 46
|
Posted: Sun Nov 24, 2002 2:32 am Post subject: Working now |
|
|
I redid the steps and emerged Mozilla 1.2b instead, and now I have working mozilla and java. There are a few pages that I visit, that still cause a complete shutdown. If any of you that followed the same steps, to get mozilla and java working together, visit http://www.maharashtratimes.com/, and tell me if mozilla closes down, I'd appreciate it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
int1 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 08 Nov 2002 Posts: 139
|
Posted: Sun Nov 24, 2002 3:07 pm Post subject: well |
|
|
Just for your info, it doesn't close on 1.1b with the steps above. However, I don't have any of the international language packages installed on my system.
int1 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Craigo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/8bde50333db4193410d01.jpg)
Joined: 09 Aug 2002 Posts: 249 Location: /dev/life
|
Posted: Mon Nov 25, 2002 2:42 pm Post subject: |
|
|
Brilliant =) Phoenix is showing it all in it AA fonts, flash, java glory! =)
Now I can get on with everything!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
S_aIN_t Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16453141243fe320f084e8d.png)
Joined: 11 May 2002 Posts: 488 Location: Ottawa
|
Posted: Thu Dec 05, 2002 9:07 am Post subject: |
|
|
thanks for the little guide.. with the help of those instructions i got Java and flash working for Opera 6.11
now I have AA fonts in Opera + Java + flash.. i good to go. ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
yokem55 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 18 Apr 2002 Posts: 360 Location: Oregon
|
Posted: Thu Dec 05, 2002 10:21 am Post subject: |
|
|
What about realplayer? I can't even get mozilla to recognize it exists..... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PlatinumCursor n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_r2-d2.gif)
Joined: 29 Oct 2002 Posts: 33 Location: Huntsville, AL
|
Posted: Fri Dec 06, 2002 12:01 am Post subject: |
|
|
Does this trick work with Mozilla 1.2.1 also? ThIs SoUnDs So ExCiTiNg! _________________ PlatinumCursor
Blinded by the bling... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
robfish Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/511877967410592759c0f5.jpg)
Joined: 25 Nov 2002 Posts: 137 Location: New Zealand
|
Posted: Thu Dec 12, 2002 1:22 am Post subject: Unsuccessful sun-j2sdk emerge |
|
|
I have gone through steps 1 to 4 OK but with step 5 I have tried twice to get the same result when I emerge sun-j2sdk
I get...
!!! ERROR: dev-java/sun-j2sdk-1.4.0-r2 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! (no error message)
Any ideas? _________________ RobFish |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
discostu Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/cdddb19d3dffe71ab6cc2.gif)
Joined: 01 Nov 2002 Posts: 333
|
Posted: Thu Dec 19, 2002 12:23 am Post subject: Re: Unsuccessful sun-j2sdk emerge |
|
|
I am also getting this error when emerging on a system with sun-jdk and gcc3.2. robfish wrote: | I have gone through steps 1 to 4 OK but with step 5 I have tried twice to get the same result when I emerge sun-j2sdk
I get...
!!! ERROR: dev-java/sun-j2sdk-1.4.0-r2 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! (no error message)
Any ideas? |
See my thread _________________ "Disco Stu doesn't advertise." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|