Some Questions about Eclipse

Source: Internet
Author: User

Recently I have been studying Java Web development, so I have to make some settings for eclipse. When I used to write java, I just downloaded eclipse and decompressed it for use. I also installed ADT to learn about Android development. It is troublesome to use some java EE plug-ins. Since I am using 64-bit win7, I first installed a 64-bit JDK, and then used a 32-bit Eclipse, an error always pops up at startup. Later found that only 64-bit Eclipse can use 64-bit JDK, so for a long time, finally found the official 64-bit: http://download.eclipse.org/eclipse/downloads. If you want to use the plug-in of MyEclipse, but overwrite plugins and features, you will be prompted that the visual editor cannot be opened and a SWT error occurs when opening the jsp file. It took more than an hour to find the problem, and then I found myself dumb. MyEclipse 8.0 can be developed directly. Why do I have to use the myeclipse plug-in eclipse ~~~

The following is a summary:

  1. On a pc with a dual-core or above, it is best to add the "-XX: + UseParallelGC" parameter in the eclipse. ini configuration file to speed up startup and running.
  2. Install plug-ins, it is best to use links installation, this I will not write, the use of http://hi.baidu.com/soharmonious/blog/item/a0507d0397701e743812bba7.html this blog method. But to facilitate future search, paste it again.

In the past, we installed eclipse plug-ins to directly decompress the compressed package to the root directory, so that the plug-in installation package (take VE as an example) the features and plugins folders in are merged with the same name folder in the eclipse root directory. It is convenient to do so, but all the plug-ins in the same box will make this eclpse very large, and if you want to remove a plug-in, you will know how troublesome it is, you need to delete all folders starting!

The eclipse method described here is as follows. First, assume that the location of my eclipse is -- D: \ eclipse \ eclipse.exe.

Step 1: create a new folder named eclipse_plugins under the root directory of drive D. Of course, you can also use your favorite name in your preferred location.

Step 2: create a new folder VE under the eclipse_plugins directory (you can use a name you like, as long as you note that it corresponds to the context), that is, D: \ eclipse_plugins \ VE

Step 3: extract the veinstallation package (for example, ve-runtime-1.2.2_jem.zip) to the eclipse_plugins folder, and form a file level of D: \ eclipse_plugins \ VE \ eclipse (after the plug-in installation package is decompressed, it is generally) --- here is an external question. When installing a plug-in, you must note that it corresponds to the version of eclipse and other related plug-ins.

Step 4: In the eclipse installation directory (that is, D: \ eclipse), create a new file named links (this must be called. This is the only one that is required !!!).

Step 5: Create a new text file in the D: \ eclipse \ links directory and enter the following sentence:

============== Below are the statements in ve. link ==========================

Path = D :\\ eclipse_plugins \ VE

================================ It's over, simple ==================

Save this text file as ve. link. In this case, other names can also be used theoretically, such as abc. efg. You can try it. We recommend that you use \ (double slash) in the path, or use relative paths.

In this way, eclipse will automatically identify the information in the links folder, and then add a new plug-in, as long as you redo step 2, 3, 5. You can add multiple indexes to a link file, that is, one path in a row. However, this method is not recommended because it is not conducive to search.

If you want to delete a plug-in, it is easier to delete the corresponding link file. If you delete the links folder, delete all the plug-ins.

Reflects the File hierarchy in this 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.