LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-17-2011, 12:59 PM   #1
gribbsy
Member
 
Registered: Jun 2009
Posts: 32

Rep: Reputation: 15
Question Can't get java plugin working on Ubuu 11.04


Hello. I am trying to get the java plugin extension for firefox so that I can run some java applications. I've modified the repositories, run sudo-apt-update, and run apt-get install java6-plugin (among other things). I thought this was successful because when I go to synaptic package manager the sun-java6 things are marked as installed. But when I open up firefox and look at my extensions, there is no java6 plugin! I don't understand what I may have done wrong. I really want to give ubuntu a try but this is frustrating.
 
Old 05-17-2011, 02:10 PM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,151

Rep: Reputation: 504Reputation: 504Reputation: 504Reputation: 504Reputation: 504Reputation: 504
You will need to copy the file
Quote:
libnpjp2.so
to /usr/lib/mozilla/plugins/ and then restart firefox.

I did the same on Ubuntu, installed java6 using synaptic, and it did not put a copy of the plugin where firefox can find it.

I used 'locate libnpjp2.so' to find the file in the first place. If you have never used locate, as root you have to run 'updatedb' first. That takes a few minutes to complete, so wait for it.

If you can not find that file, then you don't have java installed correctly.

You can download java from here-->http://www.java.com/en/download/linux_manual.jsp
and you can verify the java version, along with knowing if you have the latest version.

Last edited by camorri; 05-17-2011 at 03:09 PM.
 
Old 05-17-2011, 06:37 PM   #3
gribbsy
Member
 
Registered: Jun 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Unhappy

Thanks for the help. Ok. I located libnpjp2.so and copied it to the mozilla/plugins directory and it shows up in my extensions now!

so far so good.

but now when I try to open up the java application it crashes right away.
One of my extensions is icedtea and i wonder if this is interfering with sun-java, so I disabled it, but am still getting the crashes.
 
Old 05-18-2011, 08:37 AM   #4
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,151

Rep: Reputation: 504Reputation: 504Reputation: 504Reputation: 504Reputation: 504Reputation: 504
If you go to this link, -->http://www.java.com/en/download/installed.jsp can you verify the version of java installed?

What java app(s) is it crashing on?
 
  


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 Plugin not working - Iceweasel 2.0.0.3, Java RE 1.6.0.01 Brian Ryans Linux - Software 7 05-11-2007 02:40 PM
Java/Firefox java plugin not working with HP Webjetadmin iamskykid Linux - Software 2 03-02-2006 02:38 PM
java working, java plugin not provkitir *BSD 3 01-12-2005 05:49 PM
Java plugin for Mozilla is probably there but not working the_rhino Fedora 1 10-29-2004 01:08 PM
java plugin not working luckystrikes7 Linux - Software 3 05-23-2004 08:02 AM


All times are GMT -5. The time now is 01:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration