LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-24-2006, 01:04 PM   #1
Kabul
LQ Newbie
 
Registered: Jul 2006
Location: Kabul Afghanistan
Distribution: No Sure as Yet
Posts: 15

Rep: Reputation: 0
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
 
Old 07-24-2006, 01:27 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
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)
 
Old 07-24-2006, 02:57 PM   #3
Kabul
LQ Newbie
 
Registered: Jul 2006
Location: Kabul Afghanistan
Distribution: No Sure as Yet
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 07-24-2006, 03:03 PM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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?
 
Old 07-24-2006, 03:17 PM   #5
Kabul
LQ Newbie
 
Registered: Jul 2006
Location: Kabul Afghanistan
Distribution: No Sure as Yet
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 07-24-2006, 03:48 PM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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.
 
Old 07-24-2006, 05:20 PM   #7
Kabul
LQ Newbie
 
Registered: Jul 2006
Location: Kabul Afghanistan
Distribution: No Sure as Yet
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 07-25-2006, 12:40 AM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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.
 
Old 08-14-2006, 04:26 PM   #9
Mikeyh
LQ Newbie
 
Registered: Dec 2005
Location: Wiltshire, UK
Distribution: Suse 11.1
Posts: 8

Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Downlaoded J2re.bin and dont know how to install Arkan123 Linux - Newbie 11 01-11-2006 08:07 PM
chmod a+x jre-1_5_0-linux-i586-rpm.bin chemichael Fedora 4 09-24-2005 10:23 AM
Installing j2re-1_4_2_04-linux-i586.rpm paisano2k Fedora 12 05-07-2004 02:56 AM
java j2re . bin nOOb1kanobee Linux - Newbie 27 02-09-2004 05:46 AM
j2re-1_4_1_01-linux-i586-rpm.bin gsikora Linux - Software 2 01-19-2003 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration