LinuxQuestions.org
Review your favorite Linux distribution.
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-11-2012, 01:11 PM   #1
kaivai
LQ Newbie
 
Registered: Nov 2012
Posts: 15

Rep: Reputation: Disabled
Debian 6 - Canno find correct Directory for Java Plugins


There seem to have been quite a lot of posts on this - distro varying - but every fix that I have tried does not seem to work.

I have tried creating symbolic links to my

/usr/lib/jvm/jre1.7.0_09/lib/amd64/libnpjp2.so

to all of the following locations, but I still fail the java test every time that I go to the java test webpage:
http://www.java.com/en/download/testjava.jsp



These are all of the locations that I have tried creating symbolic links:

/usr/lib/firefox/plugins
/usr/lib/mozilla/plugins
~/.mozilla/firefox/plugins
~/.mozilla/plugins
(my install directory)
/opt/firefox
/opt/firefox/plugins

I also read in one post that they were able to open the plugin file from the browser to add it. But choosing File>Open and then navigating to libnpjp2.so prompted me to download it (I wasn't very hopeful in any case...)

I have installed java 1.7.0_09 (the latest package from the java website)
and I believe I have configured it properly. When I execute:

java -version

result:
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)

I was hoping that someone might have another suggestion I'm quickly running out of ideas! Thank you so much!

Last edited by kaivai; 12-11-2012 at 01:16 PM.
 
Old 12-11-2012, 05:42 PM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
I assume from your paths that you're using firefox... Try going to aboutlugins in your browser - does it list any plugins? If so, can you find the file it lists for them (e.g. gecko-mediaplayer.so) in your filesystem using 'find' or 'locate'? Also, what plugins does it list?

EDIT: I notice I actually use the IcedTea plugin - that might be an option if you can't get Oracle's java working.

Last edited by Snark1994; 12-11-2012 at 05:43 PM.
 
Old 12-11-2012, 06:11 PM   #3
kaivai
LQ Newbie
 
Registered: Nov 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thank you Snark!!

Augh! I feel like an idiot. It turns out that I had a 32bit installation of firefox, and a 64bit installation of java. I didn't get a choice of versions for firefox, and it never occurred to me that I might be running a 32 bit version! I now have firefox nightly installed (firefox's 64 bit browser) and java has been detected properly.

Thank you again!
 
Old 12-12-2012, 10:20 AM   #4
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
Glad you got it sorted! Please mark the thread as "SOLVED" using the link at the top of the page so others know it contains a solution.

Regards,
 
Old 12-13-2012, 09:23 PM   #5
kaivai
LQ Newbie
 
Registered: Nov 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Will Do! Thanks again, snark!!
 
  


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
cant get a .jar java file running, cant find firefoxes plugins folder to tach into duttocal Linux - Software 3 05-26-2011 09:45 PM
[SOLVED] Perl File::Find not taking in correct directory parameter ktyson Programming 2 02-01-2011 08:05 AM
Rows in lists on my Debian are correct/black/correct/black... eikhorsholm Linux - Desktop 1 10-01-2009 05:24 PM
Updating Java: Can't find where to set Path, Can't find old Java! davidstvz SUSE / openSUSE 2 08-16-2008 03:10 PM
Java plugins Trio3b Mandriva 5 09-13-2005 01:25 AM


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

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