Error when installing updates to Eclipse - eclipse

I tried to install some plugins to my Eclipse Gallileo, such as Eclipse Web Developer Tools and others. Whatever I try, I get the same error:
An error occurred during the org.eclipse.equinox.internal.provisional.p2.engine.phases.CheckTrust phase.
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.CheckTrust, operand=, action=).
Cannot connect to keystore.
Uninitialized keystore

There was a bug in Eclipse concering Eclipse certificates not being trusted by Oracle VM.
From Eclipse FAQ:
When I try to install a plug-in, I get a "Cannot connect to keystore." error, what should I do? Check that you are not using GCJ
to run Eclipse. This problem may also surface if you are using IcedTea
or an OpenJDK 6 build.
Install Java 6 from Sun and use that to run Eclipse instead.

Solved by upgrading to Indigo.

Related

Unable to install Worklight for eclipse

I'm trying to install IBM MobileFirst Platform Studio in Eclipse Juno SR2.
But, each time I get the following error
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=).
Problems downloading artifact: osgi.bundle,com.ibm.imp.webtools.dojo.library.distributions,2.0.400.v20160331_0555.
MD5 hash is not as expected. Expected: d0939ee2754c4c8d3626f629cc7e2dcc and found 99b8a9fd32ebcd8a33f312560ea4df78.
I tried it initially in Mars. Even that didn't work.
Any idea why I get this error?
Eclipse Juno is not supported by MobileFirst Platform Foundation 7.1.
Use either Eclipse Kepler, Luna, or latest - Mars.
In Eclipse, go to Help -> Eclipse Marketplace and search for "mobilefirst", then install MobileFirst Studio.
Solved It !!
The problem was with my Network. It had a download limit of 150 MB, whereas, the plugin required around 250 MB. Once I removed the limit, there was no problem with the installation.

problems while installing worklight develpoer edition

this error occured while installing IBM worklight plugin on eclipse juno 4.2.2
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://public.dhe.ibm.com/ibmdl/export/pub
/software/mobile-solutions/worklight/wdeupdate/plugins/com.worklight.
studio.plugin_6.1.0.01-20140311-2356.jar.
Read timed out
This sounds like a network timeout as installations from the Eclipse Marketplace seem to work fine now.
Since you're trying to install 6.1, I suggest that you'll simply try again with the latest version, available to download from here: IBM Worklight - Where to find previous releases

IBM Worklight 6.0 - "Error: Unable to read repository at http://public.dhe.ibm.com/ibmdl..."

I am trying to add IBM Worklight plugin to my eclipse environment in Mac 10.7.5 system. I am using Eclipse version Juno 4.2.2 (SR2) for Java EE developers, and using JAVA 7. I tried to install worklight plugin through "Eclipse marketplace" and through "Install new software" using IBM URL.
In both cases i am getting below error after installation progress is at "44%".
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://public.dhe.ibm.com/ibmdl/export/pub/software/mobile-solutions/worklight/wdeupdate/plugins/com.ibm.imp.webtools.dojo.library.distributions_2.0.0.v20130508_1207.jar.
Connection reset
Unable to read repository at http://public.dhe.ibm.com/ibmdl/export/pub/software/mobile-solutions/worklight/wdeupdate/plugins/com.worklight.studio.plugin_6.0.0.20130614-0631.jar.
Connection reset
Let me know if I am missing anything while adding plugin. I was able to add worklight to my eclipse in Windows 7 system. But in Mac system I am facing problems.
Thanks.
See this topic: http://www.eclipse.org/forums/index.php/t/270718/
Try starting Eclipse with -vmargs -Djava.net.preferIPv4Stack=true.
In my situation I had to right-click on eclipse.exe and Run as Administrator and the problem went away.
The issue was solved, slow network connection was the issue for me. Using a good speed net connection I was able to Install the plugin.

Failed to integrate Maven in eclipse Helios

I try to integrate maven in my eclipse helios by clicking in eclipse marketplace.
But when it becomes to install software , I have this error :
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=).
Comparison method violates its general contract!
Comparison method violates its general contract!
How can I resolve this please !!
Hi I assume you are running Eclipse Helios on a Machine that has a Java 7 JRE/JDK installed that is used by Eclipse. There is a known Bug that leads to this behavior because the Java Contract of the integrated sort algorithm has changed.
When you install (or use an already installed) Java 6 JRE/JDK to run Eclipse this should solve the problem.
To make sure the correct Java Installation is used for Eclipse edit the eclipse.ini in your Eclipse installation folder and add the following two lines at the beginning:
-vm
c:\<path-to-java-6>\bin\javaw.exe
After that all should work as expected. In newer Indigo releases this is fixed.

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

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.