Skip to content

Instantly share code, notes, and snippets.

@asimzeeshan
Created September 30, 2014 05:07
Show Gist options
  • Select an option

  • Save asimzeeshan/95d67695eab332a1294d to your computer and use it in GitHub Desktop.

Select an option

Save asimzeeshan/95d67695eab332a1294d to your computer and use it in GitHub Desktop.
Install Oracle 8 instead of OpenJDK using PPA
# 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