View previous topic :: View next topic |
Author |
Message |
Joffer Guru
Joined: 10 Sep 2002 Posts: 585 Location: Arendal, Norway
|
Posted: Tue Apr 04, 2006 10:56 pm Post subject: sun-jre-bin_x86-1.5.0.06 for use with opera etc on AMD64 |
|
|
I've made available a experminetal/hacked ebuild which will install the x86 version of sun-jre-bin files on your AMD64 system so that you can use sun 1.5 java on opera and firefox.
I myself have blackdown-jdk-1.4.2.03 as my system VM, sun-jre-bin-1.5.0.06 (64bit) as my user vm, and now I can have sun-jre-bin-1.5.0.06 (32bit) as java-vm for opera
Code: | armour plugins # java-config -L
[sun-jre-bin_x86-1.5.0.06] "Sun JRE 1.5.0.06" (/etc/env.d/java/20sun-jre-bin_x86-1.5.0.06)
[blackdown-jre-1.4.2.03] "Blackdown JRE 1.4.2.03" (/etc/env.d/java/20blackdown-jre-1.4.2.03)
[sun-jre-bin-1.5.0.06] "Sun JRE 1.5.0.06" (/etc/env.d/java/20sun-jre-bin-1.5.0.06)
[blackdown-jdk-1.4.2.03] "Blackdown JDK 1.4.2.03" (/etc/env.d/java/20blackdown-jdk-1.4.2.03) * |
Where to get
http://www.joffer.net/webshare/linux/gentoo/overlays/sun-jre-bin_x86-1.5.0.06-overlay.tar.gz
What to do
Download it and put it in your overlay folder, preferably under /usr/local/portage/dev-java, and unpack it there. This will give you a /usr/local/portage/dev-java/sun-jre-bin_x86/ folder. If your make.conf is correctly configured with overlay directory (see the forum for more info on that), you can install it by running emerge: Code: | emerge -av sun-jre-bin_x86 |
You will probably get a warning about a missing file. This is because there is a fetch (f) flag enabled in the ebuild, and you need to download the sun-jre x86 file manually and put it in /usr/portage/distfiles. Running the above command will give you directions on how to get it. Download the file and put it in distfiles and run the emerge command again. Now it's installed
Opera
Ok. I'm an Opera browser fan, so this is what I did to get java to work in Opera:
- Open preferences (ALT+P)
- Choose the Advanced tab
- Choose 'Content'
- Click on the "Java options" button
- Enter "/opt/sun-jre-bin_x86-1.5.0.06/lib/i386" (without quotes) in the path field. You may verify with the verify button.
Restart Opera and browse over to http://www.opera.com/applets/clock to verify that java works. You _should_ see a java based clock there.
I also clicked the "Plugins options" button and then change path, and then I disabled the "/opt/netscape/plugins" path, while adding a new path to "/usr/lib32/nsbrowser/plugins". I think "/usr/lib32/nsbrowser/plugins" is more the right place for 32bit plugins. It already contained the flash plugin on my system.
Ok. Thats it (hopefully). And of cource, I do not take any responsibilities for any damage or whatever this ebuild script may cause. _________________ As of April 2006 - Athlon64 X2 4200+ 1GB RAM - amd64-2006.0 profiled system with portage 2.1_preX, ck-sources-2.6.16, glibc-2.4-r1 (overlay w/-Bdirect&-hashvals), binutils-2.16.91.0.6 (overlay), gcc-4.1, Xorg 7 |
|
Back to top |
|
|
ianegg Apprentice
Joined: 26 Oct 2005 Posts: 279 Location: Breakfast.
|
Posted: Wed Apr 05, 2006 3:36 pm Post subject: |
|
|
Urm, doesn't the x86_64 version come with the 32 bit plugin? Java's working fine in Opera for me. |
|
Back to top |
|
|
Joffer Guru
Joined: 10 Sep 2002 Posts: 585 Location: Arendal, Norway
|
Posted: Wed Apr 05, 2006 7:09 pm Post subject: |
|
|
ianegg wrote: | Urm, doesn't the x86_64 version come with the 32 bit plugin? Java's working fine in Opera for me. |
Not that I know of? But I might just be plain wrong, but I never was told about it when I searched and asked about it a year ago.
What does your 'java-config -L' say (run it as user, not root) ? _________________ As of April 2006 - Athlon64 X2 4200+ 1GB RAM - amd64-2006.0 profiled system with portage 2.1_preX, ck-sources-2.6.16, glibc-2.4-r1 (overlay w/-Bdirect&-hashvals), binutils-2.16.91.0.6 (overlay), gcc-4.1, Xorg 7 |
|
Back to top |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Thu Apr 06, 2006 5:15 am Post subject: |
|
|
you can always
Code: | emerge emul-linux-x86-java |
ofcourse this is a 32-bit blackdown java |
|
Back to top |
|
|
Joffer Guru
Joined: 10 Sep 2002 Posts: 585 Location: Arendal, Norway
|
Posted: Thu Apr 06, 2006 8:18 pm Post subject: |
|
|
sirdilznik wrote: | you can always
Code: | emerge emul-linux-x86-java |
ofcourse this is a 32-bit blackdown java |
Thanks. I didn't know that. I prefer sun jre 1.5 though : _________________ As of April 2006 - Athlon64 X2 4200+ 1GB RAM - amd64-2006.0 profiled system with portage 2.1_preX, ck-sources-2.6.16, glibc-2.4-r1 (overlay w/-Bdirect&-hashvals), binutils-2.16.91.0.6 (overlay), gcc-4.1, Xorg 7 |
|
Back to top |
|
|
ianegg Apprentice
Joined: 26 Oct 2005 Posts: 279 Location: Breakfast.
|
Posted: Fri Apr 07, 2006 12:02 am Post subject: |
|
|
My bad, I had emul-linux-x86-java, I just didn't pay attention to Opera's complaints until after I got the Sun version. |
|
Back to top |
|
|
Joffer Guru
Joined: 10 Sep 2002 Posts: 585 Location: Arendal, Norway
|
Posted: Tue Apr 11, 2006 11:02 pm Post subject: |
|
|
ianegg wrote: | My bad, I had emul-linux-x86-java, I just didn't pay attention to Opera's complaints until after I got the Sun version. |
Ok _________________ As of April 2006 - Athlon64 X2 4200+ 1GB RAM - amd64-2006.0 profiled system with portage 2.1_preX, ck-sources-2.6.16, glibc-2.4-r1 (overlay w/-Bdirect&-hashvals), binutils-2.16.91.0.6 (overlay), gcc-4.1, Xorg 7 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|