Java study notes first Development Environment

Source: Internet
Author: User

It has been in. net is engaged in development work, and now learning Java Development, everything is new, it took a week, forced themselves to forget the previous irrelevant. net. In any case, forget it. I don't care much about this.

 

Introduction:

Let's take a look at the Java development environment. (JDK, myeclipse, and tomcat are strongly recommended combinations of Java developers)

1. JDK is required, which integrates JRE.

2. myeclipse enterprise-level work platform

3. Tomcat is a Web application server, which is equivalent to IIS in. Net (still not forgotten ,:))

 

Note:

1 JDK: Java development kit, a Java Development Kit launched by Sun;

2 JRE: Java Runtime Environment, runtime environment, sun products, JRE is an indispensable environment for running Java programs;

3. myeclipse: it is an extension of Eclipse IDE. It can greatly improve work efficiency in the development and release of databases and J2EE, as well as the integration of application servers. It is an integrated development environment with rich functions such as coding, debugging, testing, and publishing. It fully supports HTML, struts, JSF, CSS, JavaScript, SQL, and hibernate;

4 Tomcat: a core project in the Jakarta project of the Apache Software Foundation;

5. Eclipse IDE: a Java-based, open-source, and scalable Development Platform launched by IBM. In itself, it is only a framework and a set of services, used to build a development environment through plug-in components; ide :( integrated development environment, integrated development environment)

6. J2EE: Java 2 platform software developing kit. Sun is a standard platform for enterprise-level applications, which means more software architecture and design ideas. Is a platform composed of a series of technical standards. See http://zh.wikipedia.org/zh/Java_EE

 

Installation:

JDK installation is not difficult. You don't like the default path to re-specify the installation path, and JRE will be installed at the same time.

This is also true for Tomcat installation. We hope that the installation staff will not have to preference for various extreme paths. After Tomcat is installed, there are two parameters that need to be manually configured by the user. One is java_home, and the key value is the JDK directory for installation. The other is path, the key value is directed to the JDK \ bin directory. Choose computer> Properties> advanced system Settings> environment variables. The reason is that Tomcat is also a Java product and must be supported by the Java Runtime Environment.

Installing myeclipse is not challenging. After installation, You need to inform the myeclipse integrated development environment of the Tomcat path. Likewise, You need to inform the myeclipse integrated development environment of the JDK path for development.

They are:

Specifies the Tomcat web service

Window --> preferences --> myeclipse --> servers --> Tomcat --> tomcat6.0

If the Enable option is selected, the Tomcat home directory points to the tomcat installation directory, for example, D: \ Program Files \ Apache Software Foundation \ Tomcat 6.0. The following base and temp paths are automatically generated.

 

Specify Java Development Tools

Window --> preferences --> JAVA --> installedt jres-

Click Add in the upper-right corner, click "Next", and select a directory. Note that although the specified JRE home is displayed, select the JDK path in the path, for example, D: \ Program Files \ Java \ jdk1.6.0 _ 03, instead of D: \ Program Files \ Java \ jre1.6.0 _ 03.

In addition, Tomcat uses port 8080 of the machine by default, and the port is occupied. An error occurs when the Tomcat service is started.

 

In this way, even though the configuration is trivial, the developer will better understand the functions of each part and their associations.

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.