View previous topic :: View next topic |
Author |
Message |
SirronD Tux's lil' helper
Joined: 05 Jun 2002 Posts: 100 Location: Oakland, CA
|
Posted: Thu Dec 19, 2002 5:02 am Post subject: mozilla headers not available from sun - what now? |
|
|
Trying your instruction to get java working, and I need 3 files from sun
- j2sdk-1_4_0-src-scsl.zip
- j2sdk-1_4_0-motif-linux-i386.zip
- j2sdk-1_4_0-mozilla_headers-unix.zip
I downloaded the first two, but the mozilla_headers-unix file is no where to be found. I did a search on the sun site and I cannot find it anywhere.
Where is this file?
Can I get java working in mozilla any other way (short of going back to gentoo 1.2)
Any help is appreciated. |
|
Back to top |
|
|
discostu Guru
Joined: 01 Nov 2002 Posts: 333
|
Posted: Thu Dec 19, 2002 3:43 pm Post subject: Re: mozilla headers not available from sun - what now? |
|
|
SirronD wrote: | I downloaded the first two, but the mozilla_headers-unix file is no where to be found. I did a search on the sun site and I cannot find it anywhere.
Where is this file?
|
if you go to http://wwws.sun.com/software/java2/download.html, follow the link that says "Download (Mozilla Binaries)"
As for a successful emerge good luck. I have followed all of these steps and every time I've tried emerging sun-j2sdk it fails about 3 hours into the build. I have found no answers in the forums to this problem. _________________ "Disco Stu doesn't advertise." |
|
Back to top |
|
|
SirronD Tux's lil' helper
Joined: 05 Jun 2002 Posts: 100 Location: Oakland, CA
|
Posted: Mon Dec 23, 2002 12:39 am Post subject: Java is working! Thanks guys |
|
|
Just finished the emerge of sun-j2sdk 1.4.0-r3. Mozilla (1.2.1) now regesters that I have JAVA!!!
It took just slightly less than forever to compile, but it did compile and install very cleanly.
One thing to note that wasn't pointed out, the Java sdk emerge needs 2GB. I don't normally have that much extra space in my / partition. But thanks to the wonders of emerge, all I need to to was point portage to a tmp dir I created on my /home partition (where I have most of my free space), with the following command:
PORTAGE_TMPDIR="/home/tmp" emerge sun-j2sdk-1.4.0-r3.ebuild
Again, thanks. |
|
Back to top |
|
|
BigDaveyL Tux's lil' helper
Joined: 27 Jun 2002 Posts: 99 Location: Rochester, NY
|
Posted: Mon Jan 06, 2003 4:01 am Post subject: Works for me! |
|
|
Works perfectly for me now as well!
Code: |
dave@spock dave $ emerge -s mozilla sun-j2sdk sun-jdk gcc glibc
Searching...
[ Results for search key : mozilla ]
[ Applications found : 1 ]
* net-www/mozilla
Latest version available: 1.2.1-r4
Latest version installed: 1.2.1-r4
Size of downloaded files: 31,028 kB
Homepage: http://www.mozilla.org
Description: The Mozilla Web Browser
Searching...
[ Results for search key : sun-j2sdk ]
[ Applications found : 1 ]
* dev-java/sun-j2sdk
Latest version available: 1.4.0-r2
Latest version installed: 1.4.0-r2
Size of downloaded files: 143 kB
Homepage: http://wwws.sun.com/software/java2/download.html
Description: Sun's J2SE Development Kit, version 1.4.0
Searching...
[ Results for search key : sun-jdk ]
[ Applications found : 1 ]
* dev-java/sun-jdk
Latest version available: 1.4.1.01
Latest version installed: 1.4.1.01
Size of downloaded files: 0 kB
Homepage: http://java.sun.com/j2se/1.4.1/download.html
Description: Sun's J2SE Development Kit, version 1.4.1_01
Searching...
[ Results for search key : gcc ]
[ Applications found : 5 ]
* dev-util/colorgcc
Latest version available: 1.3.2-r2
Latest version installed: 1.3.2-r2
Size of downloaded files: 16 kB
Homepage: http://packages.debian.org/testing/devel/colorgcc.html
Description: Adds color to gcc output
* sys-devel/gcc
Latest version available: 3.2.1
Latest version installed: 3.2.1
Size of downloaded files: 20,122 kB
Homepage: http://www.gnu.org/software/gcc/gcc.html
Description: Modern C/C++ compiler written by the GNU people
* sys-devel/gcc-compat
Latest version available: 1.4
Latest version installed: 1.4
Size of downloaded files: [no/bad digest]
Homepage: http://www.gentoo.org
Description: This is a compatability layer for use when upgrading to profile 1.4
* sys-devel/gcc-config
Latest version available: 1.2.7
Latest version installed: 1.2.7
Size of downloaded files: 0 kB
Homepage: http://www.gentoo.org/
Description: Utility to change the gcc compiler being used.
* sys-devel/kgcc
Latest version available: 2.95.3
Latest version installed: 2.95.3
Size of downloaded files: 6,638 kB
Homepage: http://www.gnu.org/software/gcc/gcc.html
Description: Modern GCC C compiler for building kernels
Searching...
[ Results for search key : glibc ]
[ Applications found : 2 ]
* app-doc/ebook-glibc
Latest version available: 2.2.3
Latest version installed: 2.2.3
Size of downloaded files: 835 kB
Homepage: http://lidn.sourceforge.net
Description: ebook-glibc-2.2.3 ebook based in ebook eclass
* sys-libs/glibc
Latest version available: 2.3.1-r2
Latest version installed: 2.3.1-r2
Size of downloaded files: 17,701 kB
Homepage: http://www.gnu.org/software/libc/libc.html
Description: GNU libc6 (also called glibc2) C library
|
|
|
Back to top |
|
|
DaleNixon Tux's lil' helper
Joined: 13 Jul 2002 Posts: 91
|
Posted: Mon Jan 13, 2003 5:12 am Post subject: Working here! |
|
|
Thanks! That worked! Just make sure to warn everyone that compiling moz takes a long time but compiling j2sdk takes freaking ages! _________________ $umount /mnt/brain
umount: /mnt/brain is not mounted (according to mtab) |
|
Back to top |
|
|
OpelBlitz Apprentice
Joined: 12 Dec 2002 Posts: 229 Location: Chicago, Illinois
|
Posted: Mon Jan 13, 2003 8:07 pm Post subject: |
|
|
How do I take care of that?
Code: | root@gotohell andy # emerge -up sun-j2sdk
These are the packages that I would merge, in order:
Calculating dependencies |
!!! all ebuilds that could satisfy ">=virtual/jdk-1.4" have been masked.
!!! (dependency required by "dev-java/sun-j2sdk-1.4.0-r2" [ebuild])
!!! Error calculating dependancies. Please correct. |
|
|
Back to top |
|
|
int1 Tux's lil' helper
Joined: 08 Nov 2002 Posts: 139
|
Posted: Wed Jan 15, 2003 6:04 am Post subject: |
|
|
If you mean the dependencies, try:
ACCEPT_KEYWORDS="~x86" emerge -up sun-j2sdk
OpelBlitz wrote: | How do I take care of that?
Code: | root@gotohell andy # emerge -up sun-j2sdk
These are the packages that I would merge, in order:
Calculating dependencies |
!!! all ebuilds that could satisfy ">=virtual/jdk-1.4" have been masked.
!!! (dependency required by "dev-java/sun-j2sdk-1.4.0-r2" [ebuild])
!!! Error calculating dependancies. Please correct. |
|
|
|
Back to top |
|
|
LosD n00b
Joined: 12 Jun 2002 Posts: 61 Location: Taastrup, Denmark
|
Posted: Wed Jan 15, 2003 8:10 am Post subject: Re: Java is working! Thanks guys |
|
|
SirronD wrote: |
One thing to note that wasn't pointed out, the Java sdk emerge needs 2GB. I don't normally have that much extra space in my / partition. But thanks to the wonders of emerge, all I need to to was point portage to a tmp dir I created on my /home partition (where I have most of my free space), with the following command:
PORTAGE_TMPDIR="/home/tmp" emerge sun-j2sdk-1.4.0-r3.ebuild
|
AAARRRGGGHHHH!!!!
10 hours of unnecesarry-package-removal, wasted by ONE message... I DIDN'T have to do that.... Someone kill me please.... (Or the messenger... )
Hm... Well... I guess I should have known that... Why shouldn't it be possible?
I'll go find a tall building now...
D |
|
Back to top |
|
|
jstuart n00b
Joined: 03 Dec 2002 Posts: 57
|
Posted: Tue Jan 21, 2003 3:07 am Post subject: Re: Working mozilla 1.1 with plugins |
|
|
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 |
WOOHOO thank you!!! I was able to use this to FINALLY get java working with Phoenix-cvs! THANK YOU!!! I had already dones steps 2-4. Step 2 of course for me was emerge phoenix-cvs. I never had to uninstall openmotif or lesstif. Things appear to be working perfectly! I even have real audio plugin installed!!! _________________ Jeff Stuart
JAHGU (Just another happy Gentoo User) |
|
Back to top |
|
|
jstuart n00b
Joined: 03 Dec 2002 Posts: 57
|
Posted: Tue Jan 21, 2003 3:09 am Post subject: Re: Working now |
|
|
rajendra82 wrote: | 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. |
FYI, phoenix cvs which == Mozilla 1.3 CVS + the phoenix chrome this does nto crash at all for me. _________________ Jeff Stuart
JAHGU (Just another happy Gentoo User) |
|
Back to top |
|
|
int1 Tux's lil' helper
Joined: 08 Nov 2002 Posts: 139
|
Posted: Tue Jan 21, 2003 9:32 pm Post subject: |
|
|
FYI to all, this still works for installing mozilla 1.2.1, as I did it this weekend.
int1 |
|
Back to top |
|
|
jarek n00b
Joined: 28 Sep 2002 Posts: 28
|
Posted: Sun Feb 09, 2003 8:00 am Post subject: Re: Unsuccessful sun-j2sdk emerge |
|
|
discostu wrote: | 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 |
FWIW, I maybe have the same problem. Another piece of the error output
Code: |
Unexpected Signal : 11 occurred at PC=0x47044E4A
Function=[Unknown.]
Library=(N/A)
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
Dynamic libraries:
08048000-0804e000 r-xp 00000000 09:00 1050137 /opt/sun-jdk-1.4.1.01/bin/javac
0804e000-0804f000 rw-p 00005000 09:00 1050137 /opt/sun-jdk-1.4.1.01/bin/javac
|
I've tried both blackdown-1.4.1_beta and sun-jdk-1.4.1.01 with the same result. Compiling all code from source is becoming much too time consuming to be fun.
/jarek |
|
Back to top |
|
|
kermitjunior Apprentice
Joined: 04 Aug 2002 Posts: 167
|
Posted: Sun Feb 09, 2003 10:57 pm Post subject: What kernel sources? |
|
|
I've read several places that mention the gentoo-sources are conflicting with the Java and vanilla works great. Any opinions/stats from those of you that have it working?
THanks _________________ -----
Toshiba Satellite A15-S157, 2.2 Celery, 40GB, 512MB
AMD Athlon XP 1900+, 640MB PC2100, ABIT KG-7R
IBM 120GB (Linux), WD 30GB (WinDoze), ATI All-In-Wonder 128 Pro PCI |
|
Back to top |
|
|
int1 Tux's lil' helper
Joined: 08 Nov 2002 Posts: 139
|
Posted: Sun Feb 16, 2003 3:41 pm Post subject: |
|
|
I've heard the same thing. I use vanilla, and haven't had any problems.
int1 |
|
Back to top |
|
|
Sieg Tux's lil' helper
Joined: 07 Oct 2002 Posts: 87
|
Posted: Wed Feb 19, 2003 3:02 pm Post subject: |
|
|
Thank you VERY MUCH for this guide! worked great with 1.2.1!
Much appreciated! |
|
Back to top |
|
|
NatuNobilis Tux's lil' helper
Joined: 25 Feb 2003 Posts: 88 Location: Rio de Janeiro, Brazil
|
Posted: Fri Mar 07, 2003 3:42 pm Post subject: |
|
|
Why doesn't it work the traditional way?
I've always put mozilla to work with java by downloading the netscape 6 java plugin (the file is named jre.xpi), and (as root) double-clicking this xpi file.
This has always worked, but it didn't with gentoo...
Bye. _________________ Don't read my sig, please. |
|
Back to top |
|
|
Mike_McCready n00b
Joined: 10 Jul 2002 Posts: 43 Location: Massachusetts
|
Posted: Thu Mar 13, 2003 9:28 pm Post subject: |
|
|
hey, I followed all the steps, but mozilla still doesn't recognize java as a plugin. Any ideas? |
|
Back to top |
|
|
vibidoo Guru
Joined: 27 Nov 2002 Posts: 409
|
Posted: Thu Apr 10, 2003 3:26 pm Post subject: |
|
|
I have follow this tips to install Java .
Everything was installed with some problem but finally I got Java .
But I only get Javascript working not the Java applets !
|
|
Back to top |
|
|
JoeGreensticks n00b
Joined: 23 Jan 2003 Posts: 8
|
Posted: Wed May 21, 2003 9:05 pm Post subject: Success - Mozilla Firebird CVS ebuild with Java |
|
|
Just wanted to report success using the steps described earlier in the post, with a few modifications.
I don't think it's necessary to remove OpenMotif/Lesstif (at least not on my system).
I'm using :
gcc-3.2.3-r1
glibc-2.3.2-r1
mozilla-1.3-r1
sun-j2sdk-1.4.1
I've had Mozilla installed since 1.1, and Phoenix/Firebird since 0.5 (including some cvs builds using Xft).
One thing to note: I had previously symlinked libjavaplugin_oji.so from /opt/sun-jdk-1.4.1.02/jre/plugin/i386/ns610/ to /usr/lib/nsbrowser/plugins; this was not removed when sun-j2sdk was installed. I had to manually remove it and re-symlink using the plugin from /opt/sun-j2sdk-1.4.1/jre/plugin/i386/ns610/.
Also, I had to kill my ~/.phoenix folder and let Firebird recreate it in order to get the browser to open. Before doing this, I was getting a "expected version >5! Version = 0" error message.
I'm not certain, but I think the key is that the sun-jdk ebuild does not like GCC 3.2 or greater; this was mentioned earlier in the post. I'm not sure if the kernel version plays a role, but I'm using gentoo-sources-2.4.20-r5, FWIW.
Firebird rocks!!! By far, the best *nix browser yet, IMHO! |
|
Back to top |
|
|
becca n00b
Joined: 08 May 2003 Posts: 21
|
Posted: Thu Jul 03, 2003 4:44 pm Post subject: Trying to get Java Plugin for Mozilla |
|
|
SirronD wrote: |
PORTAGE_TMPDIR="/home/tmp" emerge sun-j2sdk-1.4.0-r3.ebuild
|
This doesn't work for me. It refuses to accept a new temporary directory. Any thoughts? |
|
Back to top |
|
|
becca n00b
Joined: 08 May 2003 Posts: 21
|
Posted: Tue Jul 22, 2003 12:24 am Post subject: Trying the JRE instead |
|
|
For a smaller install, and to avoid downloading stuff I won't use anyway, I'm going with the JRE. Downloaded and agreed to the license, but the command
rpm -iv j2re-1_4_1_03-linux-i586.rpm
doesn't work. I tried
rpm -iv /home/brad/j2re-1_4_1_03-fcs-linux-i586.rpm
after checking the directory to be sure of the filename, but I get this:
glibc >= 2.1.2-11 is needed by j2re-1.4.1_03-fcs
/bin/sh is needed by j2re-1.4.1_03-fcs
I have libc-2.3.2, so that shouldn't be a problem. Don't understand the second statement, though. Can anyone help? Thanks! |
|
Back to top |
|
|
|