Java-related installation and configuration

Source: Internet
Author: User

JDK Installation: (Install Jdk-8u92-windows-x64.exe)

1. Go to the website http://java.sun.com/javase/downloads download the JDK installer

2. Install, install the JDK first, choose the path (ie d/java/jdk), then the JRE (ie d/java/jre)

3. Configure the System environment variable, click on the environment variable, click New System Variable,

Variable name: Java_home variable Value: D/java/jdk/jdk-8u92-windows-x64.exe (Path of the JAVA installation path JDK)

Variable name: CLASSPATH variable Value:.

Find a variable whose name is path and append the following code to its range:%java_home%\bin (JDK installation path \ Bin)

4. Test whether the environment variables you have configured are correct
(1) Windows+r key, input cmd, enter command line interface

(2) Enter the Java-version command, you can see the JDK version you installed, enter the Javac command can appear prompt. Enter the Java command and the result will appear

maven Install:(also need to configure environment variables)

1. Add a new system environment variable

Variable name: Maven_home variable Value: D:\Softwares\apache-maven-3.2.2\apache-maven-3.2.2 (installed directory)

Update path variable, add;%maven_home%\bin; to tail

2. Test whether the MAVEN configuration successfully opened the command-line window, enter Mvn-v, if there is a MAVEN version information output proves that the configuration is successful

Configure the Maven plugin in eclipse

1. Find windows--"preferences--" maven--"installations specify the root directory in Maven, Add,directory

2. Configure the repository for Maven in eclipse:
find windows--"preferences--" maven--"User settings specify the location of Setting.xml in Maven-->browse .... The package is placed under User settings under the local repository directory
specifically, the following XML code is modified
<settings>
<localRepository> own warehouse storage directory, my warehouse has been moved to the E-drive, specifically see the above figure of the arrow pointing to the location </lo Calrepository>
</settings>
    
to configure Tomcat in Eclipse
1. Open Eclipse, first add the server, open Eclipse, click "Window", select "Preferences" below. Open Server/runtime environment in turn, and then click Add
Select the tomcat that you have installed, and click Next. Click Browse and click OK to be done.
Note: Tomcat,eclipes has a free installation version,
MySQL database, Navicat Premium operations Database

Install SVN:

Choose the site package for your eclipse version to download, such as my eclipse is 4.4.2, I downloaded the site-1.8.22.zip
Download good after decompression, you can see the features and plugins two folder files, two ways to install:
(1) Mode one:
Copy the features and plugins two folders directly under the corresponding features and plugins folder under your Eclipse installation path and restart Eclipe
(2) mode two:
Create a new folder under the Dropins folder in your Eclipse installation directory, such as name SVN, and then copy all the files under the extracted Site-1.8.22.zip directory to the SVN folder and reboot

Java-related installation and configuration

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.