I do not know how to update it, and installing a newer version does not replace the existing one.What's the bet way to install/update Java on Raspbian, and keep it updated going forward?We’ve written extensively about Java and the problems with the platform over the years; if you need a solid primer on why exactly Java is such a problem we’d strongly suggest reading over Java Is Awful and Insecure, It’s Time to Disable It, Here’s How.
It appears though that the requirement of glibc being at least 2.5 is satisfied) Another possible solution is to add the PPA repository from the project ubuntu-justchedavailable in the Github.
This will provide a little bit different solution because it will download the Oracle JRE tarball to a previously configured directory and generate a DEB package from it.
If needing to run from the command line, consider prepending the bin directory to $PATH in .bash_profile.
Downloads available at (untested as I do not have a 12.04 system available.
One of the big complaints Minecraft players have is that Minecraft runs on Java — it’s a pain to deal with because it’s insecure and needs frequent updating to avoid exploits, and they’d rather not deal with it at all.
Thanks to a new launcher, Minecraft no longer requires you to install Java, so you can finally remove it.
Oracle JDK7 itself is not hosted in the PPA because that's not allowed by the new Java license (which is also the reason why it has been removed from the official Ubuntu repositories); the package in the PPA automatically downloads Oracle Java JDK 7 from its official website and installs it on your Ubuntu / Linux Mint computer, just like the flashplugin-installer package does.
[email protected]:/Data Stax_POC# which java /usr/bin/java [email protected]:/Data Stax_POC# java -version java version "1.8.0_66" Java(TM) SE Runtime Environment (build 1.8.0_66-b17) Java Hot Spot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode) [email protected]:/Data Stax_POC# An alternative is the Zulu port of Open JDK which can be downloaded as a zip file, unpacked and used directly.
You still technically need Java, but it is now downloaded by the Minecraft launcher and stored with the launcher instead of installed across the entire system.