LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-18-2004, 10:25 PM   #1
aaronruss
Member
 
Registered: Mar 2004
Posts: 90

Rep: Reputation: 15
Java Plug-in will not work


I downloaded the java plug-in from suns web site and did the install and after it finished I opened foxfire and tried using it but it would not work.

I have tried to get java to work on different linux boxes but have never had any luck. What am i doing wrong?
 
Old 12-19-2004, 01:32 AM   #2
Joe Nayares
Member
 
Registered: Nov 2003
Location: california
Distribution: PCLinux OS
Posts: 48

Rep: Reputation: 15
Navigate to your Java directory and look for a folder called plugin(Mine is /usr/lib/SunJava2**.*/jre/plugin/desktop/i386/ns10)
and make a link to thiis file from the pluginin directory of your browser.
Joe
 
Old 12-19-2004, 01:33 AM   #3
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
how exactly did you install the plugin?

for firefox and mozilla, you need to make a link to the plugin from the java directory, not actually copy the file to the plugin folder, otherwise the browser will crash

wow.. a response while i was typing mine..
 
Old 12-19-2004, 05:38 AM   #4
kevcart3
LQ Newbie
 
Registered: Jun 2004
Location: USA
Distribution: Fedora Core 2
Posts: 15

Rep: Reputation: 0
Java

There is a tutorial that I wrote on this web site that may be of interest to you, it includes instructions on how to install the java vm and also how to get it to work with Firefox, Mozilla, or LimeWire.

Hope this helps:

http://www.linuxquestions.org/questi...icle&artid=285
 
Old 12-19-2004, 05:21 PM   #5
aaronruss
Member
 
Registered: Mar 2004
Posts: 90

Original Poster
Rep: Reputation: 15
No Luck

I have looked at the how to but it did not work.

I installed jdk1.5.0 in /usr/local like the sun web site told me to do.
I rm the java, javac, and jar files from the /usr/bin and created links to the /usr/local/jdk1.5.0/bin for java after it did not work I also crated links for javac and jar.

I found the plugins folder for firefox in /usr/lib/firefox-1.0/plugins and created the link showed in the how to doc.
ln -s /usr/local/jdk1.5.0/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

I just don't get it. it should work.

Would it be to much to ask for linux browsers to be more user friendly!

What did I do wrong?
 
Old 12-19-2004, 05:33 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
There is another plugin in /i386. Try that one. ln -s /usr/local/jdk1.5.0/plugin/i386/ns7/libjavaplugin_oji.so

Brian1
 
Old 12-19-2004, 05:59 PM   #7
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
Re: No Luck

Quote:
Originally posted by aaronruss
I have looked at the how to but it did not work.

I found the plugins folder for firefox in /usr/lib/firefox-1.0/plugins and created the link showed in the how to doc.
ln -s /usr/local/jdk1.5.0/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

I just don't get it. it should work.

Would it be to much to ask for linux browsers to be more user friendly!

What did I do wrong?
The correct command is
Code:
ln -s /usr/local/jdk1.5.0/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /path/to/firefox/plugin/folder
 
Old 12-19-2004, 06:36 PM   #8
aaronruss
Member
 
Registered: Mar 2004
Posts: 90

Original Poster
Rep: Reputation: 15
Ok it works!

Here is a recap for any one else that has been following this and hoping to get java to work.

The How to document is a good document The problem I was having is I already had install jdk1.5.0 before I read it and did not do a RPM install but did a .bin install
so the paths was a little different.

What I did to get java to work is:

I downloaded jdk1.5.0 from sun's web site the one I got was the .bin
I cd to /usr/local as root and ran the downloaded file while in that directory so it would install there. After it was finished installing I went to /usr/bin and deleted java, javac and jar just like in the how to. I then made a symbolic link for java from /usr/bin to /usr/local/bin while in the /usr/bin directory the command is
# ln -s /usr/local/jdk1.5.0/bin/java java

after that I had to make one more link I cd to /usr/lib/foxfire-1.0/plugins
and made the link below

# ln -s /usr/local/jdk1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so

after that I closed all browsers opened one back up and the went to a java web site to test it.
It Worked.

one note: on my box I had to use the ns7/libjavaplugin_oji.so plugin not the ns7-gcc29/libjavaplugin_oji.so plugin.

What a pain it was though.

Last edited by aaronruss; 12-19-2004 at 06:41 PM.
 
Old 12-19-2004, 07:47 PM   #9
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
I'm glad you got it to work! (but you're still missing the path to the firefox plugin folder in you ln -s command in your recap )
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Java 2 Plug-in Version 1.3 mvp Linux - Software 11 11-11-2003 10:25 AM
java plug in problem vova Linux - Software 1 09-21-2003 06:06 AM
java plug-in problem guster Linux - Newbie 29 07-14-2003 10:13 AM
Java plug in HwzrHlslndr Linux - General 10 06-20-2003 04:52 PM
how to install java plug-in? bxb32001 Linux - Software 1 06-15-2001 03:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:33 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