Java tutorials-Development Environment setup

Source: Internet
Author: User

Original http://go-learning.com/2012/05/23/java-gettingstart-1/

Java getting started tutorial series-Development Environment build Posted on May 23, 2012 by Johnny

Before using any computer language for programming, you need to build a development environment. Simply put, this process requires installation of some development software and related configuration. The software required for each computer language is different. For Java language, you need to install at least one JDK (this is a proprietary name and should be memorized). The full name of JDK is-Java Development Kit, translate to Chinese is called Java development toolbox. You can download this software from the official Oracle website, link is http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u32-downloads-1594644.html

After opening the page, select the license agreement and click jdk-6u32-windows-x86.exe.

 

You can download the program. After downloading the program, it is an executable program of exe. Double-click the program to start the JDK installation process and click "Next ",

Click "change" until you select the component to be installed and the installation directory ",

Set the installation target directory to d: \ dev \ jdk1.6 (this setting is not required. Here, this setting mainly aims to simplify learning ).

Click "OK"

Click "Next" until the installation is complete.

 

 

After the installation is complete, we need to set some system environment variables, one is JAVA_HOME and the other is PATH.

On the desktop, right-click my computer, click "properties", select "advanced" in the dialog box, and click "environment variable"

 

Click "new"

 

Enter JAVA_HOME in the variable name, d: \ dev \ jdk1.6 in the variable value, and click "OK"

Then select the "path" variable in the system Variable list and click "edit"

Move the cursor to the frontend of the variable value text box, add "d: \ dev \ jdk1.6 \ bin;", and click "OK"

Click "OK" in the "environment variables" window and "System Properties" window.

Enter java-version in the command line and run it. If the following result is displayed, your JDK has been installed.

 

 

After JDK is installed, we can start development. However, without the support of IDE (private name, note-Integration Development Environment-Chinese is called the integrated Development Environment), the Development work will become very complicated and difficult, so in actual Development, we will definitely install and use an IDE. In this series of courses, we choose Eclipse as our IDE, which is also the most widely used IDE in real Java development.

We can download Eclipse from the Eclipse official website-http://www.eclipse.org/downloads/, we select "Eclipse for Java Developers" version ,.

After the download is complete, it is a zip file. We just need to simply extract the content of the zip file to the d: \ dev directory.

After all the steps are completed, your d: \ dev directory should be like this.

 

Then, select d: \ dev \ eclipse \ eclipse.exe to start the Eclipse development environment.

If everything is okay, you can start learning the Java language.

Preface

 
Related Article

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.