How to install plugin for Eclipse from .zip

2019-01-01 01:49发布

问题:

How to install Eclipse plugin from .zip? I have installed plugins by choosing the site and then check but never from .zip. Can anybody help?

回答1:

It depends on what the zip contains. Take a look to see if it got content.jar and artifacts.jar. If it does, it is an archived updated site. Install from it the same way as you install from a remote site.

If the zip doesn\'t contain content.jar and artifacts.jar, go to your Eclipse install\'s dropins directory, create a subfolder (name doesn\'t matter) and expand your zip into that folder. Restart Eclipse.



回答2:

1.makesure your .zip file is an valid Eclipse Plugin

Note:

  1. that means: your .zip file contains folders features and plugins, like this:\"enter
  2. for new version Eclipse Plugin, it may also include another two files content.jar, artifacts.jar, example:\"enter

but this is not important for the plugin,

the most important is the folders features and plugins

which contains the necessary xxx.jar,

for example: \"enter

2.for valid Eclipse Plugin .zip file, you have two methods to install it

(1) auto install

Help -> Install New Software -> Add -> Archive

then choose your .zip file

example:

\"enter

(2) manual install

  1. uncompress .zip file -> got folders features and plugins
  2. copy them into the root folder of Eclipse, which already contains features and plugins
  3. restart Eclipse, then you can see your installed plugin\'s settings in Window -> Preferences \"enter

for more detailed explanation, can refer my post:

Summary methods of install Eclipse Plugin from .zip



回答3:

This is the easiest way that I found to install a plugin locally at eclipse -

\"enter



回答4:

The accepted answer from Konstantin worked, but there were a few additional steps. After restarting Eclipse, you still have to go into software updates, find your newly available software, check the box(es) for it, and click the \"install\" button. Then it\'ll prompt you to restart again and only then will you see your new views or functionality.

Additionally, you can check the \"Error Log\" view for any problems with your new plugin that eclipse is complaining about.



回答5:

Seen here. You can unzip and

\"enter \"enter

Clicking Local will prefix your location fith file:/C:/etc/folder

You can Click archive instead and select your zip, as suggested in the second popular question. It will prefix with jar://path.zip but it is not accepted by Eclipse itself. So, I used the plain folder solution.



回答6:

To install the plug-in, unzip the file into the Eclipse installation directory (or the plug-in directory depending on how the plug-in is packaged). The plug-in will not appear until you have restarted your workspace (Reboot Eclipse).



回答7:

If you are reading this because you are getting error while updating from the \"Install new Software\" menu, then you need to do this

  1. Go to the location from where you want to update ex. http://update.eclemma.org/
  2. Download everything in the same order just as it is on site (every folder)
  3. Go to \"Install new software\", but instead of pasting the url of site paste the location of your harddrive where you downloaded the contents

please note: add the suffix file:/// to the location
ex. file:///C:/Users/harry/Downloads/eclox/

Maybe not the best solution but this gets the work done :)



回答8:

Add to Criffan\'s answer,

2.for valid Eclipse Plugin .zip file, you have two method to install it (1) auto install

In here when you are trying to install the plugin,sometimes it will give an error like Dialog appears when trying to add plugin

we have to un tick group Items by Category in the details tab.Then it will work well.



回答9:

Download the plugin, extract it inside eclipse/dropins folder and restart your Eclipse IDE. You may require to pass --clean along with eclipse command



标签: eclipse