Eclipse Development Tips

Source: Internet
Author: User
1, you can create a new Quick Launch bat file in the Eclipse directory and set the appropriate startup parameters, such as minimum, maximum memory footprint [your Java_home directory]
Create bat file: Start ECLIPSE-VM c:/opensource/j2se.1.4/bin/javaw.exe-vmargs–xms256m-xmx768m
(Startup parameter setting: The Eclipse.ini file in the%eclipse_home% directory has the same effect)
Adjusts the size of the JVM, [12. 23 Supplements]
(1) The main purpose of using command-line parameters is to select the JVM type used by the Java program and the allocation policy of the JVM runtime heap memory
(2) We can set the size of the heap and the proportion of "new" and "old" through the command line parameters.
(3) Set-Xms and-xmx are equal in size to avoid resizing heap memory after each GC.


2, in order to support internationalization, the character set is generally set to UTF-8
Set Window/preferences/workbench/editors/text file Encoding:utf-8

3, in order to develop Java EE project must introduce the necessary library
Set Window/preferences/workbench/java/build path to select User libraries, click Add JARs ...
Add Extend Jar J2ee.jar

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.