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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-18-2004, 10:25 PM
|
#1
|
Member
Registered: Mar 2004
Posts: 90
Rep:
|
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?
|
|
|
12-19-2004, 01:32 AM
|
#2
|
Member
Registered: Nov 2003
Location: california
Distribution: PCLinux OS
Posts: 48
Rep:
|
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
|
|
|
12-19-2004, 01:33 AM
|
#3
|
Member
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669
Rep:
|
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..
|
|
|
12-19-2004, 05:38 AM
|
#4
|
LQ Newbie
Registered: Jun 2004
Location: USA
Distribution: Fedora Core 2
Posts: 15
Rep:
|
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
|
|
|
12-19-2004, 05:21 PM
|
#5
|
Member
Registered: Mar 2004
Posts: 90
Original Poster
Rep:
|
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?
|
|
|
12-19-2004, 05:33 PM
|
#6
|
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:
|
There is another plugin in /i386. Try that one. ln -s /usr/local/jdk1.5.0/plugin/i386/ns7/libjavaplugin_oji.so
Brian1
|
|
|
12-19-2004, 05:59 PM
|
#7
|
Member
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669
Rep:
|
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
|
|
|
12-19-2004, 06:36 PM
|
#8
|
Member
Registered: Mar 2004
Posts: 90
Original Poster
Rep:
|
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.
|
|
|
12-19-2004, 07:47 PM
|
#9
|
Member
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669
Rep:
|
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 )
|
|
|
All times are GMT -5. The time now is 10:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|