Created
October 23, 2013 16:43
-
-
Save anonymous/7122133 to your computer and use it in GitHub Desktop.
Como instalar Oracle Java 7 no Ubuntu, via 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
#!/bin/bash | |
# | |
# Fonte: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html | |
# | |
# Este pacote fornece o Oracle Java JDK 7 (que inclui Java JDK, JRE e o plugin Java para navegadores). | |
# Não é possível instalar apenas o Oracle JRE - o PPA fornece apenas o pacote completo. | |
# | |
# Use os comandos abaixo para adicionar o PPA e instalar a última versão do Oracle Java 7 no Ubuntu. | |
# Suporta Ubuntu 13.10, 13.04, 12.10, 12.04 e 10.04. | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java7-installer oracle-java7-set-default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment