This noon took a little time to write this thing, the premise statement, this is the Java Primary Environment configuration tutorial, if you have been configured, or programming is 6, do not waste time to look down.
Action
The basic software for writing Java programs is Eclipse. This software is free, can from its official website to (point it point it): http://eclipse.org. Note that this URL is a. org instead of. com. Hope all can form a habit, any software, should go to its official website to download, if Baidu after you casually download a, in the poison still ran to ask me, my computer why poisoning???
In order to run Eclipse, Java's runtime environment--jre is also required. It's good for windows to go directly to the Oracle website. For each local tyrants Mac OS, if you're upgrading from 10.8, you already have a Java 6 JRE required by Oracle on your system. , and if your system is a 10.9 and later version of the new purchase, you'll also need to download a Java 6 from Apple's website. Finally for Linux, I want to say is, elder brother, you have come to this point, your own configuration go, don't look down ha.
Well, this article is mainly about Windows. Let's go to Eclipse 's official website:
Click Download to have a lot of available versions for you to choose from, and we need:
Depending on whether your computer is a 32bit or 64bit choice, it will automatically match your IP address to the fastest download image, and mine is this:
is the leftmost download, click will pop up the download box, of course, after entering the page you can also donate, to know that building a house free to live, but also maintenance is how great the spirit.
Remember to download the path of the download, when the download is completed when a compressed package decompression, enter the same way:
After you double-click Eclipse, this appears:
It tells us that there is no JRE (Java environment) when running Java, and it is interesting that Eclipse is used to write Java programs, and Eclipse is written in Java. So the software that writes the Java program itself needs to have the support of the Java environment. Word, let's start with an environment running Java programs to run Eclipse, and then run the Java program we wrote with Eclipse .
We just need to go to download the JRE (dot it dot it): http://java.oracle.com/
In this way:
We clicked Software Downlad, Top download below the Java SE:
Click on the download below the JRE to go in like this:
We first have to accept the license, click on Accept License Agreement, and then select the EXE version of Windows X64.
Download to the path of Eclipse :
Once the installation is complete, start opening Eclipseand you can write the program in a few more steps.
For some beginners say do not use the editor at first, directly with Notepad, I just want to say
The great God wrote in Notepad, because they thought about what to write, not what to write about.
After each encounter will not first Google, for the students in the wall, Baidu Bar ... When it's time to get out of here automatically, what? I heard you do not Baidu? Correct posture (point it dot it): www.baidu.com
Well, the first step is to play a little game.
As long as everyone gave a little love ...