Re: Java and Firefox, 12.04
Re: Java and Firefox, 12.04
In 12.10 this worked for me.
First I uninstalled all the java programs I could find in the ubuntu software center. Then after searching the web I found this info. Ad bam java works on the browser now. Reason I uninstalled all the java programs was because you cant have to java programs they will conflict with one another.
To install JRE 7:
1. Open a terminal window.
2. Type in the following commands then hit Enter after each.
sudo sh -c "echo 'deb http://www.duinsoft.nl/pkg debs all' >> /etc/apt/sources.list"
sudo apt-get update
sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 5CB26B26
sudo apt-get update
sudo apt-get install update-sun-jre
Edit: Hope this helps man.
If this is not working for you.
Ok so after crashing ubuntu and starting back fresh I went to install this and I could not get it to work. I searched the ubuntu store looking for java instalations but couldnt find any. So recalling what I did last time i just retraced my steps. I first installed iced tea plugin. Once installed I then searched java on my installed tab and then procceded to uninstall all the java's taht where checked off. Then I tried this task and it work just fine. In conclusion if this is not working its because there is some form of java already installed on your system.
I am a total newb so this retarded step is all because I still learning a lot lol.
Re: Java and Firefox, 12.04
Thank you very much!
It worked perfectly, other than me having to change the url to "deb http://www.duinsoft.nl/pkg debs all".
Re: Java and Firefox, 12.04
Success here too, Twilk73.
Perhaps you could edit your message. It appears that the '*'s should be spaces.
Can you explain what your commands do? It looks like you are adding a repository in the Netherlands and updating Java from there. Is that right?
Without this, Ubuntu's java installation is rather lame. The Iced-Tea plugin fails to work, even though java -version shows "1.7.0_09-b05". Sometimes Firefox completely locks up trying to load an applet. Now it works fine.
Thanks again.
Re: Java and Firefox, 12.04
Many thanks for your excellent input regarding #java
Success here as well.
Thank you ;)
Re: Java and Firefox, 12.04
Just a note, I was also able to get the JDK working great with this, by going to http://www.oracle.com/technetwork/ja...s-1859576.html, downloading the Linux X64 tarball, issuing this command:
Code:
sudo mkdir -p /usr/lib/jvm/jdk1.7.0
Then, after extracting, moving the contents of the tarball to the jdk1.7.0 folder:
Code:
sudo mv jdk1.7.0_09/* /usr/lib/jvm/jdk1.7.0/
Then entering:
Code:
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0/bin/java" 1
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.7.0/bin/javac" 1
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.7.0/bin/javaws" 1
... which I read about here.
And that's it!
Re: Java and Firefox, 12.04
This also works in Debian Wheezy/Sid.