Created
September 30, 2014 05:07
-
-
Save asimzeeshan/95d67695eab332a1294d to your computer and use it in GitHub Desktop.
Install Oracle 8 instead of OpenJDK using PPA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Reference: http://wiki.jetbrains.net/intellij/Installing_and_running_PHPStorm_on_Ubuntu#Installing_Oracle_.28Sun.29_JDK | |
| # | |
| # Before you install it, remove OpenJDK, if you have it installed: | |
| sudo apt-get purge openjdk* | |
| # To install Java 8/7/6, do this: | |
| # In order not to get issues with the add-apt-repository command, install the following package: | |
| sudo apt-get install software-properties-common | |
| # Add the PPA: | |
| sudo add-apt-repository ppa:webupd8team/java | |
| # Update the repo index: | |
| sudo apt-get update | |
| # Install Java 8: | |
| sudo apt-get install oracle-java8-installer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment