LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   j2re-1_4_2_12-linux-i586.bin installation (https://www.linuxquestions.org/questions/linux-software-2/j2re-1_4_2_12-linux-i586-bin-installation-467171/)

Kabul 07-24-2006 01:04 PM

j2re-1_4_2_12-linux-i586.bin installation
 
Dears all,

i downloaded [B]j2re-1_4_2_12-linux-i586.bin [/B]file and it is located on the desktop here ( /home/hamid/desktop) i made this file as executable


how do i install Java on the Mandrive 2006

tell me step by step

thanks

Mega Man X 07-24-2006 01:27 PM

Quote:

Originally Posted by Kabul
Dears all,

i downloaded [B]j2re-1_4_2_12-linux-i586.bin [/B]file and it is located on the desktop here ( /home/hamid/desktop) i made this file as executable


how do i install Java on the Mandrive 2006

tell me step by step

thanks

Did you read the Java installation instructions at Sun's homepage?

http://java.sun.com/j2se/1.5.0/install.html

The Installation of Self-Extracting Binary is the part you want to look at... assuming you are using a 32bits machine. I recommend moving your j2re-1_4_2_12-linux-i586.bin to your /opt first (mv /home/hamid/desktop/j2re-1_4_2_12-linux-i586.bin /opt)

Kabul 07-24-2006 02:57 PM

Quote:

Originally Posted by Mega Man [url=http://java.sun.com/j2se/1.5.0/install-linux.html#self-extracting
Installation of Self-Extracting Binary[/url] is the part you want to look at... assuming you are using a 32bits machine. I recommend moving your j2re-1_4_2_12-linux-i586.bin to your /opt first (mv /home/hamid/desktop/j2re-1_4_2_12-linux-i586.bin /opt)


Thanks Mega Man


i did that i copied the file into mv /home/hamid/desktop/j2re-1_4_2_12-linux-i586.bin /opt then i open console from the console i ran the file and then i accepted the Java lecinse ,and it extracted all files and said Done! i restarted my computer but still the websites require me JAVA plugin 1.4.2

i dont understand why?

i would be glad if anybody help me

thanks alot

Nylex 07-24-2006 03:03 PM

Did you make a symlink to libjavaplugin_oji.so in your browser's plugins directory? Also, you do know there's a newer version of the JRE, right?

Kabul 07-24-2006 03:17 PM

no i didnt make any link between mozilla or java i dont know how to make it

i have extracted the file and it said done. i dont know what to do next?

i downloaded from JAVA website last night i dont know if that is old version, but the website says download JAVA plugin 1.4.2


how do i make links between them?

thanks alot

Nylex 07-24-2006 03:48 PM

Version 1.5.0_07 is the latest. Do you know where your plugins directory is? If you just have one user account, then it'll be ok just to make the link in ~/.mozilla/plugins (check if you have this directory). If you have multiple user accounts, then you'll want it in a directory that every user has access to (e.g. on Slackware 10.2, this is /usr/lib/mozilla/plugins, but it may be different for your distro).

Now, I'm using JRE 1.5.0_04, but I don't think they've changed where the files are. If you have problems, we should be able to fix them :).

You make the link as follows:

ln -s /path/to/jre/plugin/i386/ns7/libjavaplugin_oji.so ~/.mozilla/plugins.

Replace the first bit in bold with the actual path to your JRE, for me this is /usr/lib/jre-1.5.0_04. The second bold part may need to be changed, depending on where your plugins folder is.

You won't need to do this as root, since you're making the link in a directory under your home (unless of course, you're putting the link in a directory multiple users can access).

HTH.

Kabul 07-24-2006 05:20 PM

Quote:

Originally Posted by Nylex
Version 1.5.0_07 is the latest. Do you know where your plugins directory is? If you just have one user account, then

HTH.

i have unpacked this version 1.5.0.07 and that is located in the

/home/hamid/%2fmv/jre-1_5_0_07-linux-i586.bin

and i can open the mozilla by this command from Run ( /usr/bin/mozilla-firefox %u ) i couldnt find where the mozilla plugin are

now i m doing this

[hamid@localhost ~]$
[hamid@localhost ~]$ ln -s /home/hamid/%2fmv/to/jre/plugin/i386/ns7/libjavaplugin_oji.so ~/.mozilla/plugins
ln: `/home/hamid/.mozilla/plugins': File exists
[hamid@localhost ~]$ ln -s /home/hamid/%2fmv/to/jre/plugin/i386/ns7/libjavaplugin_oji.so ~/.mozilla/plugins
ln: `/home/hamid/.mozilla/plugins': File exists

it says the file already exists i dont know how to link this with mozilla plugin coz i cant find it

let me know what do you think? i m getting close :)

Nylex 07-25-2006 12:40 AM

Quote:

Originally Posted by Kabul
[hamid@localhost ~]$ ln -s /home/hamid/%2fmv/to/jre/plugin/i386/ns7/libjavaplugin_oji.so ~/.mozilla/plugins

If you extracted to /home/hamid/%2fmv/jre-1_5_0_07, then that first bit is wrong; it should be /home/hamid/%2fmv/jre_1_5_07/plugin/i386/ns7/libjavaplugin_oji.so.

Sorry, I made a mistake in my previous post. The second part should be ~/.mozilla/plugins/libjavaplugin_oji.so.

Mikeyh 08-14-2006 04:26 PM

You have indirectly helped me as well Nylex. Ive now successfully installed the latest Java Plugin. Its all down to the directory names being correct.

If this helps anyone else this is the command line i used to create the link.

ln -s /home/mike/Downloads/jre1.5.0_07/plugin/i386/ns7/libjavaplugin_oji.so ~/.mozilla/plugins/libjavaplugin_oji.so

Obviously the bit in bold is unique to where i down loaded and extracted the bin file too initially.

Mike.


All times are GMT -5. The time now is 04:10 AM.