View previous topic :: View next topic |
Author |
Message |
oracleofmist Apprentice
Joined: 19 Jun 2004 Posts: 235
|
Posted: Thu Nov 17, 2005 1:22 am Post subject: jre 1.5 to work with mozilla-firefox [SOLVED] |
|
|
ok i setup for the jdk and jre 1.5.0.05 which you have to add to /etc/portage/package.keywords
i installed both of them
and then ran:
env-update && source /etc/profile
JAVA_HOME=/opt/sun-jdk-1.5.0.05
and /etc/profile.env reflects the changes
however when i try to run a java applet in firefox it says i need the plugin. Any ideas? I do not want to use blackdown java because it does not support 1.5 thanks in advance _________________ Segmentation Fault
Last edited by oracleofmist on Thu Nov 17, 2005 1:42 am; edited 1 time in total |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Thu Nov 17, 2005 1:28 am Post subject: |
|
|
There are two USE flags that you probably need to enable, browserplugin, and nsplugin. I don't know if they are used by the 1.5 version of the Sun ebuilds, but it's something to try. Basically you have to have symlinks to the java plugins so that Firefox will find them. You could manually create these links. Read the java plugin guide on the Firefox pluins website for the names of the specific files to which you need to link.
EDIT: I think this is the information you need to do it manually. http://plugindoc.mozdev.org/linux.html#Java |
|
Back to top |
|
|
oracleofmist Apprentice
Joined: 19 Jun 2004 Posts: 235
|
Posted: Thu Nov 17, 2005 1:32 am Post subject: |
|
|
*checking it out now
thanks...i've been wanting to use 1.5 for sometime but i could never figure it out how to get the system to use it. _________________ Segmentation Fault |
|
Back to top |
|
|
oracleofmist Apprentice
Joined: 19 Jun 2004 Posts: 235
|
Posted: Thu Nov 17, 2005 1:42 am Post subject: |
|
|
thanks..for the help..it works wonderfully!
Code: |
ln -sf /opt/sun-jre-bin-1.5.0.05/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins/
|
that's all there was to do _________________ Segmentation Fault |
|
Back to top |
|
|
|