-
-
Save ggoral/d9e89763da18099c7dba to your computer and use it in GitHub Desktop.
This file contains 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/sh | |
# Install Java-8 | |
sudo add-apt-repository ppa:webupd8team/java -y | |
sudo apt-get update | |
sudo apt-get install oracle-java8-installer | |
# Install Maven-3 | |
cd ~/Downloads/ | |
wget http://mirror.rackcentral.com.au/apache/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.tar.gz | |
cd /opt/ && sudo tar -xzvf ~/Downloads/apache-maven-3.2.5-bin.tar.gz | |
sudo update-alternatives --install /usr/bin/mvn maven /opt/apache-maven-3.2.5/bin/mvn 1001 | |
# Install Eclipse | |
cd ~/Downloads/ && wget http://mirrors.ibiblio.org/pub/mirrors/eclipse/technology/epp/downloads/release/luna/SR1/eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz | |
cd /opt/ && sudo tar -xzvf ~/Downloads/eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz | |
sudo chown -R root:root eclipse | |
sudo update-alternatives --install /usr/bin/eclipse eclipse /opt/eclipse/eclipse 1001 | |
sudo cat <<EOF >> /usr/share/applications/eclipse.desktop | |
[Desktop Entry] | |
Name=Eclipse 4 | |
Type=Application | |
Exec=/opt/eclipse/eclipse | |
Terminal=false | |
Icon=/opt/eclipse/icon.xpm | |
Comment=Integrated Development Environment | |
NoDisplay=false | |
Categories=Development;IDE; | |
Name[en]=Eclipse | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment