Summary of problems encountered in Ubuntu Building Java development environment

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.