LinuxQuestions.org
Visit Jeremy's Blog.
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-2014, 12:35 AM   #1
linuxStudent11
Member
 
Registered: Jun 2007
Posts: 164

Rep: Reputation: 18
firefox (31) broke my java setup again


Installed firefox 31 today. All my java apps stopped. So I typed:

Code:
sudo cp ~/Downloads/jdk1.7.0_65.tar.gz /usr/lib/jvm/
cd /usr/lib/jvm/
sudo tar zxvf jdk-7-linux-x64.tar.gz
cd ~/.mozilla/plugins/
ln -s /usr/lib/jvm/jdk1.7.0_65/jre/lib/amd64/libnpjp2.so
export JAVA_HOME='/usr/lib/jvm/jdk1.7.0_65/bin/'
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0_65/bin/java 400
<clickLaunch>
;; no java anywhere
What'm I missin?

BTW: update-alternatives doesn't have enough functions to justify its existence IMHO. I should be able to type one command and get ALL the java stuff defined...javac,javadoc,jps,javah, etc. etc. And then I should be able to swap to icedtea with another single command. If I set symlinks up correctly, I can do that (well,maybe a couple). no update-alternatives need apply.

UPDATE:
Code:
sudo ln -s /usr/lib/jvm/jdk1.7.0_65/ /usr/lib/jvm/default-java
sudo ln -s /usr/lib/jvm/default-java/jre/lib/amd64/libnpjp2.so /usr/lib/jvm/default-java/jre/lib/amd64/libnpjp2.so
ln -s /usr/lib/jvm/default-java/jre/lib/amd64/libnpjp2.so /home/sdl/.mozilla/plugins/
Chromium works GREAT! S'what is firefox' problem?
Does firefox need something set inside about:config ? I remember you need a hard proxy link in about:config on kubuntu. Does anyone know what var to set?

__________________________________________
OK, I now have at least a partial answer:
For the latest versions >1.7.0_51, the default security settings are set
so high that almost nothing runs.
WORSE: Oracle gives you the message that the plugin is not installed!! This
is an error. It is installed. Its just the security.
The fix is to run /usr/bin/jcontrol and set the security to lowest level OR
set security on a website by website basis. Both are bad because they allow
signed applets to do anything you can do from bash. (if I understand this)
This applies to chromium-browser. See the details at
http://javatester.org/version.html
I still can't get anything to run in my firefox.

Last edited by linuxStudent11; 07-28-2014 at 09:13 PM. Reason: UPDATE: partial solution
 
  


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
firefox 3.5.10 works firefox 4 and 3.6.6 broke ninja master Linux - Software 5 07-19-2010 04:20 AM
August updates broke firefox and evolution PhilK SUSE / openSUSE 0 08-18-2007 02:21 PM
Firefox Broke dutch1918 SUSE / openSUSE 2 02-19-2006 09:45 AM
Help Please - I Broke Firefox justanothersteve Linux - Newbie 3 11-07-2005 04:30 PM
Setup NFS now Samba broke tkman Linux - Networking 2 04-10-2005 04:54 PM

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

All times are GMT -5. The time now is 07:15 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
Open Source Consulting | Domain Registration