Myeclipse 7.5 Optimization

Source: Internet
Author: User

1. Remove unnecessary modules

Windows-> perferences-> General-> startup and Shutdown

Disable useless startup items:
WTP: similar to myeclipse, the main difference is that WTP is free of charge. If myeclipse is used, this can be canceled.
Mylyn: A team task management tool, similar to CVS, which manages the project progress in task units and can be canceled if it is useless.
Derby: a database saved as a jar. It is useless and canceled.
A large batch of startup items starting with myeclipse easie: the servers supported by myeclipse are only used by the user, and other items are canceled.

2. Cancel the project configuration file automatically verified by myeclipse at startup.

By default, myeclipse automatically verifies the configuration file of each project at startup, which is a very time-consuming process,
You can select myeclipse enterprise workbench-validation in the preferences window, and then retain only the manual items in the validator list on the right (select all manual and only the first item in bulid ).
If you need to verify, you only need to select the file, and then right-click and choose myeclipse-run validation.

Windows-> perferences-> myeclipse-> Validation
Drop all vertices except manual. Only classpath dependency validator is left in build.

Manual verification method:

On the file to be verified, right-click and choose myeclipse> RUN validation.

3. Remove the spelling check (if you think it is useful, do not go)

Spelling check will cause us a lot of trouble. Our method names will all be abbreviations of words, and he will also prompt errors, so it is best to remove them, so it is not very useful:
Windows> perferences> General> editors> text editors> spelling

The default JSP editor opened by myeclipse is not good. The preview will be opened at the same time.
Windows-> perferences-> General-> editors-> file associations,

Change the default value to myeclipse JSP Editor ()
The original default JSP editor is myeclipse visual JSP designer. As the name suggests, this compiler is a JSP visual editor, which is helpful for beginners. However, modifying this default editor can actually increase the startup speed)

4. Disable Automatic Updates.

For myeclipse7.5:

(1) Disable Automatic Maven update:

Window-preferences-myeclipse enterprise Workbench-Maven4MyEclipse-Maven,
Disable all the options starting with download and update (remove the preceding check box)

(2) Disable update scheduling:

Window-> preferences-> General-> startup and shutdown-> Automatic Updates scheduler (remove the preceding check box)

(3) window-> preferences-> myeclipse enterprise workbench-> maven4myeclipse-> myeclipse dashboard-> show myeclipse dashboard on startup (remove the preceding check box)

5. Add non-heap memory for JVM

Open myeclipse. ini
-Startup
../Common/plugins/org. Eclipse. Equinox. launcher_1.0.101.r34x_v20081125.jar
-- Launcher. Library
../Common/plugins/org. Eclipse. Equinox. launcher. win32.win32. x86_1.0.101.r34x_v20080731
-Clean
-Configuration
Configuration
-VM
D:/myeclipse/common/binary/COM. Sun. java. JDK. win32.x86 _ 1.6.0.013/JRE/bin/client/JVM. dll
-Vmargs
-Xmx512m
-XX: maxpermsize = 256 m
-XX: reservedcodecachesize = 64 m

-Xmx,-XX: maxpermsize,-XX: reservedcodecachesize,
Increase the value of the three items, but it is not better.

-Xmx,-XX: the value of maxpermsize is 384m, which is faster than that of 512m (depending on the computer ),
-Xmx,-XX: the value of maxpermsize is set to the same size and the sum of the two cannot exceed the memory size of your computer.

6. Window-preferences-myeclipse enterprise Workbench-Maven4MyEclipse-Maven, change Maven JDK to JDK installed on the computer, that is, do not use the JDK improved by myeclipse
Register the Add button and select JDK on the computer (Note: It is not JRE, for example, jdk1.6.0)

7. Window-preferences-myeclipse enterprise Workbench-Matisse4Myeclipse/swing, change design-time information (Dt. Jar) location to the computer-installed JDK's DT. Jar
(That is, do not use the DT. Jar provided by myeclipse, such as: D:/Java/jdk1.6.0/lib/dt. Jar)

Appendix: basic configuration of myeclipse:

1. Install myeclipse first, and install myeclipse7.5 requires a VPN proxy. The installation process lasts for about 10-15 minutes. Use the VPN test account.

2. Configure myeclipse and go to "windows --> Preferences" from the menu bar"

3. Configure JDK, select "Java --> installed jres" in the left column, and click "add ".

4. In the "add JRE" dialog box that appears, select the JRE directory, that is, select the JDK directory, for example, D:/Java/jre1.6.0.

5. Return to the settings box and select the configured JRE.

6. Set Tomcat server to available and set the tomcat installation directory

After the above optimization, the startup time of myeclipse can be reduced by 2/3, And the startup speed of Tomcat can be reduced by 1/2 (depending on the situation ),

Especially 6 and 7 have the most obvious optimization effect.

If only the first five items are performed, the optimization effect is limited. In the short term, the startup speed can be improved, but it will be slow in about half a month.

(Unknown cause)

In addition, after using myeclipse for a period of time, many projects will be generated. Even if these projects are closed, myecliose will load these projects at startup, which will take a lot of time, therefore, we recommend that you delete all unused projects and use imp again.

ORT
--------------------------------------------------------- Set the startup prompt to open the project ---------------------------------------

When Eclipse/myeclipse is started for the first time, the "workspace launcher" dialog box is displayed, prompting you to set the workspace path. after setting the path, if you select "use this as the default and do not ask again", no prompt will be displayed when you start the job later.

There are 3 ways to change the workspace path settings:

1. start Eclipse/myeclipse, open "window-> preferences-> General-> workspace", and click "Startup and shutdown" on the workspace page ", select "prompt for workspace on startup" on the "Startup and shutdown" page ";

2. Open "/Eclipse/configuration/. Settings/org. Eclipse. UI. Ide. prefs" in notepad and change the value of "show_workspace_selection_dialog" to "true ";

P.s.: "recent_workspaces" indicates the absolute path of the specified workspace. the first path is the currently set path, which was previously set in sequence. separate paths with "/N.

3. Delete "/Eclipse/configuration/. Settings/org. Eclipse. UI. Ide. prefs ".

After the preceding operations are performed, the "workspace launcher" dialog box is displayed. You can reset the settings.

------------------------------------------------------- Initialize the myeclipse tool settings ---------------------------------------
Find the same path of the myeclipse. EXE file
Run the myeclipse.exe-clean command.
For example, C:/program files/genuitec/myeclipse 8.x latest> myeclipse.exe-clean

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.