MyEclipse installation and the process of Chinese

Source: Internet
Author: User

I. Installation and localization

1. Download Myeclipseforspring-9.1-offline-installer-windows.exe to FTP

2. Download the extracted myeclipse for Spring 9.1 To install and select the 32bit version at the time of installation! After the installation is complete, the "Launch myeclipse" tick off, do not run.

Second, Chinese

A) precautions

1. Do not show folders with spaces in the installation directory.

2, the installation of clear two folders (the text is indicated in red, please follow your own situation to change) the installation address (my Common folder and MyEclipse 9 folder are installed in the D:\Program files\myeclipse\ directory)

Common folder: D:\Program Files\myeclipse\common

MyEclipse 9 folder: D:\Program files\myeclipse\myeclipse 9

(The two addresses shown below should be replaced according to their actual situation)

3, the 3rd step of the Chinese need to open the configuration folder, this file folder in the MyEclipse 9 folders instead of common folder inside.

4, Chinese is not very thorough, but most of the functions have been Chinese, do not affect the normal use.

II) Chinese

1. Paste the language folder in the Chinese package into the common folder you installed.

2. Modify the code in the 87th line of the code in the Createpluginsconfig.java file inside the Chinese package

New Createpluginsconfig ("D:\\Program files\\myeclipse\\common\\language\\plugins"). Print ();

The address in the code above D:\\Program Files\\myeclipse\\common as your common folder's installation directory, replace the red path address with yours, note in each

"\" Add a "\", such as d:\soft\ will be changed to d:\\soft\\.

3. Create a project, build a Createpluginsconfig class within the project, and copy the code in the modified Createpluginsconfig.java file. Transport

Line Createpluginsconfig class, and then the console will output a large string of English, copy.

4, open D:\Program files\myeclipse\myeclipse 9\configuration\org. Bundles.info in the Eclipse.equinox.simpleconfigurator folder (open with Notepad or a similar notepad++ tool), return to the last line. Just paste the contents of the console into the save.

5. Open the Myeclipse.ini file under the D:\Program files\myeclipse\myeclipse 9 folder, enter add a new line, paste the following code and save the-duser.language=zh

6, start MyEclipse, you can see the Chinese interface

Third, optimize

The following Chinese and English self-correspondence

1, close the MyEclipse automatic validation

Windows > Perferences > MyEclipse > Validation

Remove all of the build under the check box

If you need to verify a file, we can verify it individually. The method is:

On the file that needs to be validated (right-click MyEclipse, Run Validation.

2, start the optimization, close the module that do not need to use

Window > Preferences > General > Startup Andy Shutdown listed here are the modules loaded at myeclipse startup. Here just let it load tomcat7 tick myeclipse Easie Tomcat 7.

WTP: A thing similar to MyEclipse, the main difference is that the WTP is free, if you use MyEclipse, this can be canceled

Mylyn: Team task management tool, similar to CVS, manages project progress in a task, can cancel

Derby: A database saved in the form of a jar, canceling

3, remove myeclipse spell check (if you feel useful can not go)

Spell check will bring us a lot of trouble, our method of naming will be the abbreviation of the word, he will prompt the wrong, so it is best to remove, not much use window > Perferences > General > Editors > Text edito rs > Spelling > uncheck the Enable spell checking check box.

4. Edit the Editing tool when myeclipse edit JSP page

Window > Perferences > General > Editors > File associations >

In file types, select *.jsp > Set myeclipse jsp Editor to default in associated editors.

There is also the default editor for XML files

5. Modify the Myeclipse.ini file of the MyEclipse installation directory to increase the non-heap memory of the JVM

The specific contents are as follows:

-vmargs

-xmx512m

-xx:maxpermsize=512m

-xx:reservedcodecachesize=64m

6. Turn off Automatic Updates

1). Window->perferences->general->startup and Shutdown tick off Automatic updates Scheduler (Automatic Update Scheduler)

2). Window->perferences->myeclipse->maven4myeclipse hook on Enable maven4myeclipse featrures; ok close window; This step is to show the MAVEN node in step 3rd

3). Windows > Preferences > MyEclipse > maven4myeclipse the option to start with download on the right is canceled, and restart OK after saving.

7. Configuring Code Hints

1). Open eclipse, then "window" → "Preferences"

2). Select "Java", expand, "Editor", and select "Content Assist".

3). Select "Content Assist" and see the "Auto Activation triggers for Java" option under "Auto-activation" on the right and right. Actually, it means "." is the trigger code hint. This symbol.

4). "Auto Activation triggers for Java" option,

Change ". abc" to ". ABCDEFGHIJKLMNOPQRSTUVWXYZ (,", Save, Close "TEST.EPF").

Later, when you enter any one of the letters, it will automatically prompt

Four, Chinese Java hints

Chinese Javadoc first to ftp download Chinese Javadoc, version is javaSE6.0.

Http://download.java.net/jdk/jdk-api-localizations/jdk-api-zh-cn/publish/1.6.0/html_zh_CN.zip

Then select Window-->preferences-->java-->instralls JREs in eclipse

Then click jre6.0, select Edit on the right

After selecting Rt.jar in the pop-up form, click Javadoc Location:

Select the Javadoc in archive below, select the path to the html_zh_cn.zip that you downloaded in archive path, and click Browse on the right of path within archive

Click the tree structure in the graph to select the API node and click the OK button for all pop-up forms.

The end of Javadoc is Chinese.

In accordance with the above practice I did not succeed, have a successful colleague to contact me in time.

V. Configuring TOMCAT

myeclipse-"server-" tomcat7.x set up the path to Tomcat here.

Vi. Eclipse and MyEclipse encoding settings

To write Web Project in MyEclipse, there are 2 places to change the encoding settings:

1. Window-->preference-->general-->content type

then expand each subkey in the <content types> and enter "UTF-8" or "GB18030" in <default encoding>, point update!

2, Window-->preference-->myeclipse-->files and Editors

Change the "Encoding" of each subkey to "ISO 10645/unicode (UTF-8)" or "chinese,national standard", point apply!

All of the document types created later are UTF-8 or GB18030 formats!

Change the default encoding for Eclipse or myeclipse new files

Eclipse's:

Window-preferences-general-contenttype right window, change to GBK also can, Utf-8 also line.

MyEclipse's:

Window-preferences-myeclipse-files and editors-jsp inside have encoding, change here for Iso10646/utf-8.

Eclipse and Java file Encoding settings:

If you search for file encoding problems online, you can get a lot of answers, or even some of the ultimate solutions, so you may not have a coding problem, so why do I have to write this article? Because I work under two platforms, the default encoding is not the same, so I need to jump the whole line.

Look at the eclipse settings, if you download eclipse, do nothing, start creating the project, code, everything is fine, but you may have moved your project to Linux under development, because you are getting tired of WinXP and falling in love with Ubuntu. That's when the problem comes. Open your eclipse under WinXP, click Window-->preferences, expand General-->workspace, see the text file encoding on the left, The default setting is the Simplified Chinese encoding (gbk,gb2312), while Linux below, is UTF-8.

Now that you understand their differences, and so what, now start to all your workspace file encoding is set to UTF-8 bar, you will have at any time the normal display of Java files, no garbled.

Seven other optimizations

1, Window-preferences-myeclipse Enterprise Workbench-maven4myeclipse-maven, the Maven JDK to the computer installed JDK, That is, do not use the MyEclipse enhanced JDK Registration Add button, select the JDK on your computer (note: Not the JRE, my value is: Java6.014)

2, Window-preferences-myeclipse Enterprise workbench-matisse4myeclipse/swing, will design-time information (Dt.jar) Location switch to the Dt.jar of the computer-installed JDK (i.e. not using the Dt.jar provided by MyEclipse, my value is: C:\Java6.014\lib\dt.jar)

With the above optimization, the MyEclipse start-up time can be reduced by up to 1/2 (depending on the situation), reducing the startup speed of the 2/3,tomcat.

Download MyEclipse2014

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.