Install Flash Player Linux Chromium Browser Removal WindowsYou can also manually add the repository and key and install Oracle Java 9 in Debian using the following commands su. EEA1. 48. 86. apt get install oracle java. Update October 2. Previously, this package would increment the Java priority to make it default. The oracle java. Java priority to 1. Java packages you may have installed for instance, if Java 8 is also installed, Java 9 becomes default, but if Java 1. To make Java 9 default, you must install the oracle java. Java environment variables and sets it as default, which I added as a Recommended package to oracle java. In Ubuntu, recommended packages are automatically installed, so oracle java. In Linux Mint on the other hand, recommended packages are not installed by default, so you must install this package manually if you want to set Oracle Java 9 as default. So, if you want to set Oracle Java 9 as default, no matter what other Java versions are installed, make sure that you install the oracle java. Oracle Java Installer package in Ubuntu, but not in Linux Mint sudo apt get install oracle java. If you dont want to make Oracle Java 9 default it might still be set as default, depending on what other Java versions you may have installed, install the oracle java. Note removing the oracle java. I have yet to find a way to do this properly. If you dont want to set it as default, remove both oracle java. Tip if youre behind a firewall router that blocks some of the redirects required to download the Oracle Java archive, you can download the JDK tar. After installing the package, you can check the Java version by running java version in a terminal, which should display an output similar to this andreiandrei desktop java version. JavaTM SE Runtime Environment build 91. Java Hot. SpotTM 6. Bit Server VM build 91. Or, javac version andreiandrei desktop javac version. And so on. Automated installation auto accept licenseThe Oracle Java 9 Installer prompts you to accept the Oracle license before proceeding with the installation and its only required once, so you dont have to accept the license with each update. If you want to automate the installation process, you can use the command below to automatically accept the Oracle Java 9 license echo oracle java. Update if the command above doesnt work, use the following thanks to Adam echo oracle java. Install Flash Player Linux Chromium Browser© 2017