Eclipse, MyEclipse modifying character sets and JDK

Source: Internet
Author: User

UTF-8 settings in Eclipse

1.windows->preferences Open the Preferences dialog box;

2. Then, General->workspace, the right text file encoding, select Other, change to UTF-8.

3.web-> Open, CSS, HTML, JSP, JavaScript, XML and other settings to UTF-8.

or change here, general->content Types, right context Types tree, click Text, select Java Source File, under Default

Enter UTF-8 in the Encoding input box and click Update to set the Java file encoding to UTF-8. The other method is the same if you need to change.

4.java->installed JREs.

Remove the Jdk6.0 from the original eclipse, and from the new configuration jdk1.6.0_06 (ADD: Under the Java file in C drive, Programe. C:\Program Files\java)

Other than that
UTF-8 settings in MyEclipse

Same

---preferences option under 1Window option;

2 Open Preferences->general->workspace, set UTF-8;

3 is also preferences->myeclipse->files and Editors->css, HTML, JSP, JavaScript, XML Settings UTF-8.

4 is also the preferences->java->installed JREs: Remove the original MyEclipse Jdk6.0, from the new configuration jdk1.6.0_06 (ADD: In

C drive, under Java file in Programe).

Reason for modification:

If you want to enable plug-in development applications to have better internationalization support, to maximize the support of Chinese output, it is best to make Java files using UTF-8 encoding.

However, the default encoding for the Eclipse workspace (workspace) is the default encoding for the operating system, and the default code for the Simplified Chinese operating system (Windows XP, Windows2000 Simplified Chinese) is GB18030, The engineering code established in this workspace is GB18030, the Java built in the project

Pieces are also GB18030. If you want to make the new project, Java files directly to the UTF-8, you need to do the above work, should not be ignored.

What is the difference between Eclipse and myeclipse?

In fact, it can be said that both are Ides.

(1) MyEclipse all the plug-ins are well-equipped, directly can be used, proportional write jsp,struts,spring and the like, of course, the package is quite large, the machine is not good to develop the program is slow, Eclipse nothing, to develop what they are equipped with what plug-ins just.

(2) Strictly speaking, MyEclipse is just a plug-in in the eclipse system, but because MyEclipse is often installed with eclipse, the MyEclipse plug-in is usually installed with eclipse called MyEclipse, The two can be installed separately, that is, after Eclipse is installed, and then install MyEclipse in plug-in mode. Another approach is to install both at the same time, installing MyEclipse, when Eclipse (which is already integrated) has been installed.

(3) Install Myeclispe without eclipse, because Myeclispe includes eclipse functionality.

(4) Myeclispe makes web apps more professional than eclipse

Eclipse, MyEclipse modifying character sets and JDK

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.