"zip file is empty" when installing RTC Eclipse plugin - eclipse

I'm trying to install the RTC-Client-p2Repo-4.0.5.zip (290.9 MB) eclipse plugin in Eclipse Luna version 32 bit on Linux. After selection the jar file and hitting finish, I get the error at the bottom. The jar file size is 290.9 MiB (305,030,442 bytes) and I am able to extract it.
An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
Error reading signed content.
zip file is empty

An RTC 4.x+ is meant to be installed in an Eclipse 3.6+ (as in "Install RTC Eclipse Client 4.0 into an existing Eclipse 3.6.2 using Installation Manager")
The support for a latest Eclipse 4.4 Luna is not guaranteed.

I re-installed eclipse and that fixed the issue. The ".eclipse" folder may need to be removed too, although I didn't see one in my Linux VM.

Issue Identified & Solved
This issue arises when u try to retrieve the codBase from RTC repository to your local Workspace.
Usually u might be facing following issue :
Jar files in your project gets corrupted due to inevitable pushing of code in RTC repository as you would have been getting the following error where in my case Platform.jar was corrupted.
WARNING: Failed to process JAR [jar:file:/D:/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/ProjectName/WEB-INF/lib/platform.jar!/] for TLD files
Solution :
Try Replacing the corrupted jar files in your workspace at the respective location.
Try to push fresh/updated code in RTC repository,so the jar files wont get corrupted

My solution was to go through Help-->Eclipse Marketplace, search for the plugin and install it from there.

Related

UnsatisfiedLinkError Starting JVM Via Eclipse

I have a plain Eclipse installation without much of anything, and a workspace with a Maven (or better yet Tycho) project. Everything worked until I decided to change the JDK (Preferences -> Installed JREs); now whenever I start a Maven build or the plug-in unit tests I get the following error:
Error occurred during initialization of VM
java.lang.UnsatisfiedLinkError: java.lang.Class.getClassLoader0()Ljava/lang/ClassLoader;
<<no stack trace available>>
I have restarted Eclipse and tried a different installation, and since I thought the problem was with the JRE, I changed it back to the original one. Still the same error.
The corresponding 64bit JRE works, but sadly the build has an integration test for 32bit (Cannot load 32-bit SWT libraries on 64-bit JVM), so that's why I need to get 32bit to work again.
How do I fix it?
Deleting all the .metadata folder of the workspace and setting it up again helped.

Error while updating Eclipse

I get an error while trying to update Eclipse (Kepler Service Release 1; Build id: 20130919-0819)
Eclipse wants to update the following package:
Eclipse Standard/SDK 2.0.2.20140224-0000
An error occurred while uninstalling
session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.rcp.configuration_root.win32.win32.x86 1.0.0.v20130521-1847 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).
Backup of file E:\Program Files (x86)\eclipse\eclipse.exe failed.
Can not remove : E:\Program Files (x86)\eclipse\eclipse.exe
This error also occurs when I try to update as administrator.
Does anybody have any idea what would cause this?
Solution extracted from this forum http://www.eclipse.org/forums/index.php/t/487240/:
Run eclipse
Rename eclipse exe to eclipse.exe.back
Run updates
Updates executed successfully
It worked for me.
See Eclipse kepler can't install updates.
The eclipse update feature seems to mess up a lot of times with broken dependencies and missing configurations.
You can fix them all up manually if you would like to but that would take some time to debug what is wrong and then how to fix it.
The best advise I can give you is to download a fresh copy of the required Eclipse version and then import your workspace in this new Eclipse installation

How do I resolve the error "No file system is defined for scheme: sourcecontrol" in Eclipse

I recently updated Eclipse, I have a project in RTC (Rational Team Concert).
When I open my workspace it says all my files are missing.
When I double click on a project I get: No file system is defined for scheme: sourcecontrol
The kind of error message is typical of a faulty installation/update of RTC on top of an Eclipse Distribution:
Could not create the view: com.ibm.team.process.rcp.ui.teamArtifactsNavigator
This thread only offers one solution:
I finally got it fixed by doing a fresh install of RSA 7.5.4 and installing RTC 2.0.0.2 client on top of it.
In your case, one way would be to make a new installation of your Eclipse Distribution, and try installing RTC on top of it, to see if the issue persists.
I had the same problem (RSA 8.5.5.1, RTC plugin 4.0.6) after adding another plugin.
I uninstalled the RTC plugin via IBM Installation Manager and reinstalled it.
After this I had to restart RSA with the -clean option once.
No need to reinstall RSA.

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.

installing GWT plugins to eclipse

i started to explore GWT yesterday it self and was going basic tutorial in google documentation, I've downloaded GWT ran a sample project without Eclipse as the tutorial stated and then started to setup Eclipse.
I'm using Eclipse Galileo and according to given instructions i followed the steps and when i was installing GWT plug-in for eclipse i came across an error, so i re ran the plug-in installation and came across the same error again, this is my 3rd time of that procedure. so i turned on to you, I've pasted the error messages below, some one please help me out.
regards,
rangana
An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://dl.google.com/eclipse/plugin/3.5/plugins/com.google.appengine.eclipse.sdkbundle.1.3.3_1.3.3.v201004231111.jar.
Read timed out
Unable to read repository at http://dl.google.com/eclipse/plugin/3.5/plugins/com.google.gwt.eclipse.sdkbundle.2.0.3_2.0.3.v201002191036.jar.
Read timed out
Have you tried the alternative installation procedure (from a zip file)?
Here is the work around :
Separately download the jar files for which read timeout is hapenning.
In this case download
com.google.gwt.eclipse.sdkbundle.2.0.3_2.0.3.v201002191036.jar.
com.google.appengine.eclipse.sdkbundle.1.3.3_1.3.3.v201004231111.jar.
using above url.
Note: both jars are above 80MB and takes a while for download.
copy the jars to plugin folder of eclipse
resume plugin installation once again.