1,vi/etc/profile says it's read-only and can't be modified.
Workaround :: w!sudo tee% Direct Force save (remember to load the next file Oh, command Source/etc/profile)
2. Installing the JDK
http://www.oracle.com/technetwork/java/javase/downloads/index.html
then unzip,
then configure /etc/profile as follows
Export java_home=/home/aaa/java/jdk1.8.0_45
Export jre_home=/home/AAA/java/jdk1.8.0_45/jre
export classpath=.: $CLASSPATH: $JAVA _home/lib: $JRE _home/lib
export path= $PATH: $JAVA _home/bin: $JRE _home/bin
Export java_ant=/home/AAA/java/apache-ant-1.9.4
3, install Eclipse
:http://www.eclipse.org/downloads/ Download liunx java EE version of
then the decompression Click can be run directly.
4, install Tomcat
:http://tomcat.apache.org/download-60.cgi selected Liunx version of
Direct Decompression
5, install ant
http://ant.apache.org/bindownload.cgi
then unzip
then configure /etc/profile as follows (similar to JDK installation)
Export java_home=/home/aaa/java/jdk1.8.0_ style=
export jre_home=/home/ /java/jdk1.8.0_45/jre
export classpath=.: $CLASSPATH: $JAVA _home/lib: $JRE _home/lib
Export java_ant=/home/ aaa /java/apache-ant-1.9.4
< Span style= "Font-size:16px;color: #4C33E5;" >6,eclipse Install the SVN plugin
< Span style= "Font-size:16px;color: #4C33E5;" > in Eclipse Help install new software paste http://subclipse.tigris.org/update_1.8.x then download and remember to restart Eclipse.
Summary of problems encountered in Ubuntu Building Java development environment