Java Web Integration Development (Appendix 1)-Installation configuration environment

Source: Internet
Author: User

----------------------------------------------------------------------------------------------------

1. Install JDK

http://blog.csdn.net/sonnet123/article/details/9169741

Download JDK

Http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Export java_home=/usr/java/jdk1.7.0_25
Export classpath=.: $JAVA _home/jre/lib/rt.jar: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
Export path= $PATH: $JAVA _home/bin

If the old JDK version or the default JDK version exists, the JDK information above may not be the latest version, you will need to

    1. Installing Java Alternative---JDK
    2. # update-alternatives--install/usr/bin/java Java/usr/java/jdk1.7.0_25/bin/java 60
    3. To configure the JDK:
    4. # update-alternatives--config Java

Press Enter to save the current selection [+], or type a selection number:?

---------------------------------------------------------------------------------------------------

Name: Java_home
Variable Value: C:\Program files\java\jdk1.7.0_67

Name: Class_path
Variable value:.; %java_home%\lib;%java_home%\lib\tools.jar

Name: PATH
Variable value:;%java_home%\bin;


2. Install Tomcat

http://blog.csdn.net/zhuying_linux/article/details/6583096

Download Tomcat

http://tomcat.apache.org/

[Email protected] ~]# Unzip Apache-tomcat-6.0.30.zip

[Email protected] ~]# MV apache-tomcat-6.0.30//usr/local/

[Email protected] ~]cd/usr/local/

[Email protected] local]# ln-s/usr/local/apache-tomcat-6.0.30//usr/local/tomcat

[Email protected] local]# CD tomcat/bin/

[[email protected] bin] #ls

[[email protected] bin] #vim catalina.sh

Add the following content:

catalina_home=/usr/local/apache-tomcat-6.0.30/

[Email protected] local]#chmod +x *.sh

Three Start the Tomcat server

[[email protected] tomcat]# /usr/local/tomcat/bin/catalina.sh start

3. Install Eclipse

Http://www.cnblogs.com/hongten/archive/2012/07/12/2588463.html

Install Eclipse
TAR-ZXVF eclipse-sdk-4.2-linux-gtk.tar.gz

Start eclipse [provided that you enter the graphical interface command: STARTX]
CD Eclipse

Go to eclipse folder

./eclipse

4. Install MySQL

1). Download unzip

2). Add Environment variables
Mysql_home = C:\mysql-5.6.20-winx64

3). Register MySQL as a Windows system service
From the console into the bin directory under the MySQL decompression directory,Enter the Service installation command:
Mysqld Install MySQL--defaults-file= "C +Mysql-5.6.20-winx64\my-default.ini "

Note: The My-default.ini file is available in the root directory after MySQL decompression, if not, from somewhere else.
The Removal Service command is: mysqld remove

4). The Start service command is:
net start MySQL

5). Change the password of the root account
The default password for the root account is empty when the installation is complete, and you can modify the password to the specified password. Example: 123456
C:>mysql–uroot
Mysql>show databases;
Mysql>use MySQL;
Mysql>update user SET Password=password ("123456") WHERE user= ' root ';
Mysql>flush privileges;
Mysql>quit

5. Install Adobe Reader

http://blog.csdn.net/tesge/article/details/56838

When the download is complete, run the tar command to unpack the package:

Tar -xvzflinux-509. Tar. GZ

Unzip these files directly in this directory:COMMON. TARINSTALLlicread. TXTlinuxrdr. TARMANIFESTREADME

Java Web Integration Development (Appendix 1)-Installation configuration 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.