...
The installer takes a while since it needs to download the latest Java installer from the Oracle site.
Setting Java environment variables
To automatically set up the Java 8 environment variables, you can install the following package:
Code Block | ||||
---|---|---|---|---|
| ||||
sudo apt-get install oracle-java8-set-default |
Verification
Make sure something silly didn't happen and your alternatives were set to Oracle Java:
...