Eclipse is a free and Scalable Application Development Platform Based on java, open source code, and provides top-notch java IDE for programmers.
Download the latest version of eclipse, Official Website: http://www.eclipse.org
Select an appropriate installation package based on different operating systems and processors and download the package. I installed the package smoothly without any problems. You can also find a step-by-step installation tutorial on the Internet. Now there are a lot of resources in this area.
> The first JAVA Project-Start with the simplest Helloworld.
Select file-new-java project and fill in the project name, such as Helloworld
650) this. width = 650; "src ="/e/u/themes/default/images/spacer.gif "style =" border: 1px solid # ddd; "alt =" spacer.gif "/> 650) this. width = 650; "src =" http://img1.51cto.com/attachment/201309/194359420.jpg "title =" B2] $ 7F6DC ~ Yb2136t@jjw@yl.jpg "alt =" 194359420.jpg"/>
Finish, so a java project is simply created.
Next, create a class file. Find the created Helloworld project under package explorer, right-click the src folder-new-Class, and fill in the com. xxx package and name
650) this. width = 650; "src =" http://img1.51cto.com/attachment/201309/195124482.jpg "title =" E8 (WKG6J4 ~ Jt?o=9cz'0d=c.jpg "alt =" 195124482.jpg"/>
Input the hello code
package com.lixiyu;public class Helloworld { public static void main(String arg[]){ System.out.println("hello world!"); }}
Run compilation and running. The following window shows hello world! So the first simple project is successful.
> Export javadoc documents through Eclipse(There are other methods. Here, only the one I use is listed)
For File-Export, select javadoc under the java directory. For the java command path, directly select the location of the package installed by bin \ javadoc.exe, which will be automatically generated for you ), the path below defines the storage location of javadoc
650) this. width = 650; "src =" http://img1.51cto.com/attachment/201309/200636507.jpg "title =") @ B10) 117O @ 8VY [N ~ 32.16s0000hd.jpg "alt =" 200636507.jpg"/>
All the way to Next, Next, Finish, then a DOC folder will appear under the custom path you selected. You can open it by checking the folder.
> Recovery window close items
Accidentally close the eclipse interface windows such as package explorer and Outline in eclipse.Windows-show view recoveryAnd click the item to restore.
>Solution for small Chinese font of Eclipse in win7
1. Installation Font: After downloading the file, copy the YaHei. Consolas.1.12.ttfw file to the C: \ Windows \ Fonts directory, and then install the font.
2. Configure the font for eclipse: Use eclipse to operate "Window"-"preferences", "General"-> "Appearance"-> "Colors and Fonts", and open "basic ", double-click "Text Font" and select the Font: "YaHei las Hybrid". Click OK. When selecting a font, you only need to enter the letter "Y" in the font box, and Eclipse will jump intelligently to the "YaHei las Hybrid" font .)
Attachment: YaHei. Consolas.1.12.ttf http://dl.vmall.com/c0ryjboqpv
This article is from the "ToBeContinued" blog, please be sure to keep this source http://leexy.blog.51cto.com/4136883/1302338