Unable to install the Force.com plugin for eclipse. getting md5 mismatch - eclipse

I'm trying to install the Force.com IDE plugin. I found it, it started downloading, but once the plugin goes to install I get the following error at about 45% completion:
Installing software has encountered a problem. An error occurred while collecting items to be installed
When I click details about this error, I get the following. Anyone know how to fix this and get the plugin installed? Thanks in advance
An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,com.salesforce.ide.api,23.0.2.201201091635.
MD5 hash is not as expected. Expected: 97a6329f82c422a61e9b1bc28be7cace and found ef8b1c2b63c7d04acaa6bf41f4b8570c.

My solution: download plugin jar files manually and put them into eclipse installation directory. The problem was in corrupted (partial) download of jars by eclipse.
Download all jars of particular needed version from http://www.adnsandbox.com/tools/ide/install/features/ and http://www.adnsandbox.com/tools/ide/install/plugins/
Make sure to use some download manager to ensure files integrity!
Then put them to /features/ and /plugins/ folders of your eclipse installation directory accordingly.
Run plugin installation as described by salesforce (Jars will not be downloaded again) - Success!

Make sure you're running Eclipse as an Administrator (right click, select "Run as Administrator") when installing plugins.
If that doesn't help, move your Eclipse folder to the C:\ on Windows because there are issues with the Program Files folder permissions. Then run it as an Administrator and try to install the plugin again.

I just got it working;
Install Eclipse 3.6.1 (Helios SR1)
The IDE FAQ recommends Eclipse 3.5 and 3.6, but the install instructions link you to 3.6 SR1 .
Ensure you only have the latest JRE
I am running Java 6 Update 26 as of this post.
Make sure you don't have any legacy JREs installed
I had to uninstall a 1.4 Java environment before the IDE install would work.
Then follow what Matthew Keefe said;
Run Eclipse As Administrator
Move the Eclipse program directory outside of the Program Files directory.
Edit: Eclipse 3.7 installs the IDE successfully once the Java version is correct.

Related

Fix "The Eclipse Installer executable launcher was unable to locate its companion shared library."

I'm trying to install Eclipse Neon on a 64 bit Windows 7 computer. I download the file "eclipse-inst-win64.exe" and run as administrator. Immediately I get the following error:
The Eclipse Installer executable launcher was unable to locate its companion shared library.
Note the "Installer" keyword. When searching on Google and StackOverflow, I find solutions only for when receiving this error launching Eclipse itself after it is installed. The solutions that worked for people in those situations usually involve editing the "eclipse.ini" file and removing absolute paths or references to uninstalled plugins. However, Eclipse has never been installed on this computer, therefore an "eclipse.ini" file does not exist and the installer does not appear to create one in any obvious place before throwing this error. There does not appear to be any "companion shared library" downloads on the Eclipse website. Any ideas on what could be going on?
Download and install the JDK and then try to install Eclipse again.
According to http://wiki.eclipse.org/Eclipse/Installation:
Eclipse 4.6 (Neon) was released on June 22, 2016. See Neon schedule.
Consider using the Installer. Please see 5 Steps to Install Eclipse.
A Java 8 JRE/JDK is required to run all Neon packages based on
Eclipse 4.6, including the Installer. The reasoning behind
requiring Java 8 are discussed here.
I found another reason for this error message. I got it when I tried to install Eclipse from the compressed installer. I extracted the installer into a folder and ran it from there. It then installed.
Try to extracted all the installer files before you run the installer.

Can't connect to Eclipse Marketplace

I am trying to install log4j Eclipse Plugin.
But I'm Getting this error message :
Unable to read repository at https://sourceforge.net/projects/oneclick-logger/files/site/content.xml. Received fatal alert: handshake_failure
I had the same issue for yet another plugin hosted on SourceForge. It seems to be a common issue.
As stated in the comments above, this solution helped me:
https://stackoverflow.com/a/38264878. But I had to go some extra steps to find which JRE my Eclipse installation was using. So here are all the steps put together. This instructions worked on my Mac, using Eclipse Neon. But other OS and versions of Eclipse will have really similar operations:
1./ Check the JRE used by Eclipse:
Click the "help" menu -> Installation Details -> Configuration
Then look for the -vm argument
2./ Open a finder/file explorer to the JRE's .../lib/security sub-folder
And make a backup of local_policy.jar and US_export_policy.jar. Just in case.
3./ Download the Java Cryptography Extension from Oracle:
Java7: http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
Java8: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
And unzip it.
4./ Copy local_policy.jar and US_export_policy.jar just just downloaded into the JRE's .../lib/security sub-folder
5./ Restart Eclipse
Then retry the installation. It should be fine this time.

Eclipse : Getting Error as Could not find jar file while installing Plugin in Eclipse

I was following this below website
http://visualvm.java.net/eclipse-launcher.html
for installing VisualVM into Eclipse Helios Version 3.6 , for this as mentioned i downloaded visualvm_launcher_u1_eclipse_36
and also under in Eclipse Menu Window --->Preferences ---> Installed JRE ---> Pointed JDK Path in JRE Settings
C:\Program Files\Java\jdk1.6.0_27
But when i tried to install this VisualVM into Eclipse by
Eclipse Menu ---> Install New Software --->Add -- >Archive option
i am getting the below exception
Could not find jar file:file:/D:/VisualVM/visualvm_launcher_u1_eclipse_36.zip!/
Please see the image related to the Exception .
This is what I did to get it installed.
downloaded and unzipped to C:/visualvm_launcher_u1_eclipse_36/
Eclipse Window --->Preferences ---> Available Software Sites --> Add
(Name: VisualVM;
Location: file:/C:/visualvm_launcher_u1_eclipse_36/)
Eclipse Help ---> Install New Software ---> Select VisualVM from drop-down menu ---> Expand Uncategorized ---> Select VisualVM Launcher Feature ---> Next
It looks like you are not following the steps for installation. You should:
unzip visualvm_launcher_u1_eclipse_36.zip into directory of your choice
add local update site pointing to the chosen directory
install VisualVM Launcher Feature
The file itself may be corrupt that you are trying to add as an archive. Examine the root level of the file and make sure the correct components are there. Right now, I am trying to install EPIC in such a way. What I see in the zip file at the root level are:
features (folder)
plugins (folder)
README.txt (file)
site.xml (file)
For anybody else stumbling upon this question and having the same problems:
handshake failure when using Eclipse marketplace/Update site
You tried JRE unlimited policy workaround and it doesn't work
manual installation of plugins also doesn't work
I have downloaded clean eclipse zip, started it and downloaded the plugin that I wanted (Enhanced Class Decompiler), and then opened the targeted Eclipse installation (actually an IDE called Intershop Studio) and used File -> Import -> Installation -> From Existing Installation to import plugins.
So this solution is applicable if problems are not caused by system configuration or if you already have plugins installed on another Eclipse installation.

Eclipse - Cannot install subclipse / subversive

I am unable to install new plugins to eclipse (tried subclipse and subversive). Installing fails around 47/48 %. This happens with both Helios and Indigo. I tried installing via Help>Install New Software and Help>Eclipse Marketplace.
Errors in both versions are about the same:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at
http://market.eclipsesource.com/dist/.sitestore/4f/4f5ba7f7716b8c0f63ef
9b74b0173826/../../../../artifacts/plugins/org.tigris.subversion.subclipse.cor
e_1.6.17.jar.
Read timed out
Unable to read repository at http://market.eclipsesource.com
/dist/.sitestore/4f/4f 5ba7f7716b8c0f63ef9b74b0173826/../../../../artifacts/
plugins/org.tigris.subversion.subclipse.doc_1.3.0.jar.
Read timed out
I don't think it's my internet connection as I'm having no issues browsing the web and multiple tracert tests work fine. I have tried removing the sites from available software sites and tried setting Active Provider in network connects to both direct and native.
Please help. Thanks
I also faced the same issues and resolved with following steps:
Check all .jar files that are causing errors "Unable to read repository at..."and "Read timed out"
Manually download those .jar files
Manually put .jar to eclipse's "\plugins" folder
Again start installation
Won’t get error
You done.
These are the steps to follow while Enable SVN in Eclipse Version: 2018-12 (4.10.0):
Visit this link: http://subclipse.tigris.org/ to get the “Eclipse update site URL” for Subclipse plugin. As of now Feb 2019 its move to location - https://github.com/subclipse/subclipse/wiki
Here you can https://dl.bintray.com/subclipse/releases/subclipse/latest/
Basic Steps:
Help>Install New Software.
Click on Add - Give name: Subversive
https://dl.bintray.com/subclipse/releases/subclipse/latest/
Install all the components, and accept the license.
Restart the eclipse.
Thanks.
I had the same issue with Windows 7 / 64bit / Eclipse Java EE Juno SR1.
I got around the issue by installing Subversive via the Eclipse Marketplace rather than with "Install new Software" using the Eclipse Juno update site.
I had exactly the same problem with EGit and the above solved it as well.
It worked for me by downloading and installing subclipse locally, from here : http://subclipse.tigris.org/files/documents/906/49270/site-1.8.20.zip

Installing Eclipse

I am installing Eclipse for RCP and RAP Developers. My old copy went rogue and decided to act up.
So clean install time! Yay! I downloaded the new version, copied it to the opt folder, extracted it, and ran it.
For some reason, I can't install any plugins due to some crap error*, and it doesn't have a list of default plugins. I deleted my workspace and the original Eclipse install.
Is there another file that is helping Eclipse keep data from previous installs? I am seeing update sites I added when I was constantly trying to get past this issue.
Also, why can't I install new plugins?
I need a clean install so I can't use the Ubuntu installer.
Any tips are appreciated.
*Cannot complete the install because one or more required items could not be found.
Software being installed: Maven Integration for Eclipse (Required) 0.10.2.20100623-1649 (org.maven.ide.eclipse.feature.feature.group 0.10.2.20100623-1649)
Missing requirement: Maven Integration for Eclipse (Editors) 0.10.2.20100623-1649 (org.maven.ide.eclipse.editor 0.10.2.20100623-1649) requires 'bundle org.eclipse.zest.core 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Maven Integration for Eclipse (Required) 0.10.2.20100623-1649 (org.maven.ide.eclipse.feature.feature.group 0.10.2.20100623-1649)
To: org.maven.ide.eclipse.editor [0.10.2.20100623-1649]
I had the same problem when doing a fresh install of Java EE eclipse (helios, galileo, win32 and win64).
The solution for me was to explicitly open the Java perspective, and doing the install after this. This time the installation worked fine.
I suspect the reason is that after a fresh install not all bundles are loaded (although they are present on disk; a feature of eclipse) so that the dependencies cannot be resolved. Opening the Java perspective or creating a dummy Java project will force to load these bundles. Once a bundle is loaded, its existence is persisted, so this only has to happen once.
This issue was mentioned a number of time on the official websites, but always closed or neglected, probably because the reproducer did not do a fresh install.
Download Eclipse 2018-19 (4.9.0) version as an updated eclipse version and install it! Maven dependency will presented inbuild thing in that model, Right click on project -> properties -> on left pane, Maven will display ! Change your setting there to overcome this error and you can add external JAR'S there