Eclipse & JAVA Study Notes (1)-getting started installation and early adopters

Source: Internet
Author: User

First download Eclipse: eclipse-java-juno-SR2-win32-x86_64.zip on the Internet Baidu

Eclipse is a green software. It can be directly run without installation.

But it fails, as shown in figure

I don't know what the problem is

...

After consulting old students, found eclipse is a platform, if you need to add Java Runtime Library: jdk-7u2-windows-x64.exe

Download jdk-7u2-windows-x64.exe. run eclipse.exe again after installation is successful.

The long-awaited interface appears

Create a project

1. Enter the project name.

2. Use the default configuration. Of course, you can set the source code folder and the compiled bin folder.

Add a Java Project

Project selection

The new project does not have a file. Now add a class

Right-click and choose>

Finish

Add console output

Run

Result

Summary:

1. The main function is lowercase, different from. net.

2. If eclipse does not have the compile button, it will compile the file after saving the file.

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.