I'm a casual Linux user and recently Firefox started sending me a bunch of vulnerability warnings (as in, even more than anything I had experienced before) regarding my current Java version (8u45), which led me to my issue at hand.

First, I tried using this method: HowTo: Upgrade java on Ubuntu 14.04 LTS? but it didn't work. Even after uninstalling Java 8 completely and installing it again from scratch ended at the same version as before (8u45).

Then I went to the Java website and downloaded the .tar directly from there. But even after following the instructions, nothing seemed to happen.

So, what now? Do I keep using my current version and ignore the dozens of warnings Firefox is giving me? Is there something else I can try? Or am I locked out of anything Java related for god knows how long?

2 Answers 2


The WebUpd8 PPA is not updated any more.

You can update java to 8u51 using a script.

sudo apt-get install git curl
git clone https://github.com/hanipouspilot/oracle-java8.git
sudo sh oracle-java8/javains

This is only for 64-bit Ubuntu.

The problem is that Oracle changes links used in this script and I do not guarantee that I will update the script for the future updates. But I probably will if there is no a better solution.

  • Running sudo sh oracle-java8/javains results in oracle-java8/javains: 5: oracle-java8/javains: curl: not found
    – alkamid
    Jul 31, 2015 at 18:47
  • I updated the answer. Run sudo apt-get install curl and try again to run the script.
    – Pilot6
    Jul 31, 2015 at 18:54

to confirm that your java version is configured correctly, look here but ignore the R config.

for assistance with the FireFox plugin have a look at this post

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.