Last active
January 24, 2017 04:07
-
-
Save HansRobo/5bc8237d4cabc8831baf265733832624 to your computer and use it in GitHub Desktop.
eclipse
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
Update JAVA | |
yes | sudo apt-get update | |
sudo apt-get -y install openjdk-8-jdk openjdk-8-jre openjdk-8-jre-headless openjdk-8-jre-dcevm openjdk-8-jre-zero icedtea-8-plugin openjdk-8-jre-headless icedtea-netx icedtea-netx-common | |
sudo apt install -y java-common | |
sudo update-java-alternatives --jre -s `sudo update-java-alternatives -l | grep 1.7.0 | awk '{print $1}'` | |
sudo update-java-alternatives --jre-headless -s `sudo update-java-alternatives -l | grep 1.7.0 | awk '{print $1}'` | |
sudo update-java-alternatives -s `sudo update-java-alternatives -l | grep 1.7.0 | awk '{print $1}'` | |
sudo update-java-alternatives -l | |
#download Eclipse(Neon) | |
cd /tmp | |
wget http://ftp.yz.yamagata-u.ac.jp/pub/eclipse//technology/epp/downloads/release/neon/2/eclipse-cpp-neon-2-linux-gtk-x86_64.tar.gz | |
wget -O "pleiades_1.7.0.zip" "https://ja.osdn.net/frs/redir.php?m=iij&f=%2Fmergedoc%2F66003%2Fpleiades_1.7.0.zip" | |
#decompress eclipse | |
sudo tar xvfz /tmp/eclipse-cpp-neon-2-linux-gtk-x86_64.tar.gz -C /usr/local | |
#Setting Pleiades (Eclipse for Japanese) | |
sudo unzip -o /tmp/pleiades_1.7.0.zip -d /usr/local/eclipse/ | |
sudo sh -c "echo "-javaagent:/usr/local/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar" >> /usr/local/eclipse/eclipse.ini" | |
#Add path | |
echo "PATH="/usr/local/eclipse:\$PATH"" >> ~/.bashrc | |
#Set command | |
PATH="/usr/local/eclipse:$PATH" | |
chmod 775 /usr/local/eclipse/eclipse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment