2016年10月5日 星期三

Installing Eclipse Neon on CentOS 7





Installing JDK

Download
http://www.oracle.com/technetwork/java/javase/downloads/index.html

Java SE Downloads > Java Platform (JDK) 8u101 / 8u102 > Accept License Agreement  > jdk-8u101-linux-x64.rpm


Install
[ricky@pc009 ~]$ sudo rpm -Uvh jdk-8u101-linux-x64.rpm


Installing Eclipse

Download
http://www.eclipse.org/downloads/eclipse-packages/?osType=linux&release=undefined

Eclipse IDE for Java Developers Linux 64 bit


Unzip
[ricky@pc009 ~]$ sudo tar -zxvf eclipse-java-neon-1-linux-gtk-x86_64.tar.gz -C /usr/local
[ricky@pc009 ~]$ vi ~/.bash_profile
PATH=$PATH:$HOME/.local/bin:$HOME/bin:/usr/local/eclipse
[ricky@pc009 ~]$ eclipse &

Compile
New a project, and class, with below content
package test01;

public class Tester {
public static void  main(String[] args) {
System.out.println("Hello World");
}
}


Installing Gradle
[ricky@pc009 ~]$ sudo unzip gradle-3.1-bin.zip -d /usr/local
[ricky@pc009 ~]$ vi ~/.bash_profile
PATH=$PATH:$HOME/.local/bin:$HOME/bin:/usr/local/eclipse:/usr/local/gradle-3.1/bin
[ricky@pc009 ~]$ gradle -v
------------------------------------------------------------
Gradle 3.1
------------------------------------------------------------
Build time:   2016-09-19 10:53:53 UTC
Revision:     13f38ba699afd86d7cdc4ed8fd7dd3960c0b1f97
Groovy:       2.4.7
Ant:          Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM:          1.8.0_101 (Oracle Corporation 25.101-b13)
OS:           Linux 3.10.0-327.el7.x86_64 amd64

Installing 

沒有留言:

張貼留言

2023 Promox on Morefine N6000 16GB 512GB

2023 Promox on Morefine N6000 16GB 512GB Software Etcher 100MB (not but can be rufus-4.3.exe 1.4MB) Proxmox VE 7.4 ISO Installer (1st ISO re...