Building a Java development environment

Source: Internet
Author: User

The process of building a Java development environment is simple, and we'll learn how to build a Java development environment to run our first Java program with the following tutorials

Tips : Bloggers Use the system is WIN10

First, install download JDK

The JDK is the Java SDK, a software for developing and running Java programs, all known as the Java Development Kit, and the installation download process is as follows

Open the download page for Oracle website, select the latest release, click Download

Select the version that corresponds to your computer system, click Download

After the download is complete, there will be a corresponding installer in the default download folder, open the installer and follow the default installation options.

After waiting for the installation to complete, we can verify that the installation was successful. Press the shortcut key Home+r Open run, enter CMD in the input box and press ENTER to open the Command Line window, enter the java-version command in the Command Line window to verify

Ii. Install and download Eclipse

Eclipse is an integrated development environment (Integrated development Environment,ide) provided for the rapid development of Java programs, which integrates editing, compiling, linking, debugging, and online help into a graphical user interface for improved development efficiency. The installation download process for Eclipse is as follows

Open the download page of the Eclipse website and click Download

Select the appropriate download source to download, in order to speed up the download, here selected the Tsinghua University tuna Mirror Station

After the download is complete, a corresponding installer will be installed in the default download folder to open the installation program for installation

Here you choose IDE Tools for Java development

Choose the installation path here, Bo Master chose to install under the D disk

Here Select the work path, that is, the future creation of the project will be created by default in this directory, the blogger chose to install under the E disk

Well, this completes the Java development environment, and then we'll run our first Java program.

Third, the first Java program

Open Eclipse, create our first Java project

Create our First Class

Then you can write the code, and after writing it, use the shortcut key CTRL+F11 run the code to get the following results

At this point, we have successfully run our first Java project.

Building a 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.