Download the 32bit or 64bit Linux "compressed binary file" - it has a ".tar.gz" file extension.
Uncompress it
tar -xvf jdk-8-linux-i586.tar.gz (32bit)
tar -xvf jdk-8-linux-x64.tar.gz (64bit)
JDK 8 package is extracted into ./jdk1.8.0 directory. N.B. check carefully this folder name since Oracle seem to change this occasionally with each update.
This will assign Oracle JDK a priority of 1, which means that installing other JDKs will replace it as the default. Be sure to use a higher priority if you want Oracle JDK to remain the default.
Correct the file ownership and the permissions of the executables:
N.B. remember - Java JDK has many more executables that you can similarly install as above. java, javac, javaws are probably the most frequently required. This answer lists the other executables available.
Run
sudo update-alternatives --config java
You will see output similar one below - choose the number of jdk1.8.0 - for example 3 in this list (unless you have have never installed Java installed in your computer in which case a sentence saying "There is nothing to configure" will appear):
$ sudo update-alternatives --config java There are 3 choices for the alternative java (providing /usr/bin/java).
N.B. you can link the plugin (libnpjp2.so) to /usr/lib/firefox/plugins/ for a system wide installation, For Ubuntu 13.10 path to plugin directory is /usr/lib/firefox/browser/plugins/
Depending on your configuration, you might need to update the apparmor profile for firefox (or other browsers) in /etc/apparmor.d/abstractions/ubuntu-browsers.d/java
Schematic of STAMP. Credit: (c) Nature Photonics (2014) doi:10.1038/nphoton.2014.163
Researchers working at two universities in Japan have jointly developed what is being described as the world's fastest camera. A photo-device with a frame interval of 4.4 trillion frames per second. In their paper published in the journal Nature Photonics, the team describes how their camera works, its capabilities and the extensive work that went into its creation.
High speed cameras allow researchers and everyday people alike the ability to see things that they wouldn't be able to otherwise, from slowdown of sports play to mechanical processes. Prior to the announcement in Japan, the fastest cameras relied on what's known as a pump-probe process—where light is "pumped" at an object to be photographed, and then "probed" for absorption. The main drawback to such an approach is that it requires repetitive measurements to construct an image. The new camera is motion-based femtophotography, performing single-shot bursts for image acquisition, which means it has no need for repetitive measurements. It works via optical mapping of an object's spatial profile which varies over time. Its abilities make it 1000 times as fast as cameras it supersedes. In addition to the extremely high frame rate, the camera also has a high pixel resolution (450 × 450).
Developed by a joint team of researchers from Keio University and the University of Tokyo, the camera is set to capture images of things and events that until now have not been impossible. With technology the team has named Sequentially Timed All-optical Mapping Photography, or STAMP for short, the camera is poised to be used to capture chemical reactions, lattice vibrational waves, plasma dynamics, even heat conduction, which the researchers note occurs at approximately a sixth the speed that light travels.