Google Plugin for Eclipse – jar has been tampered!

Problem

While installing Google Plugin for Eclipse 3.7, via http://dl.google.com/eclipse/plugin/3.7 , it took almost half and hour and download and stopped at the end.

A long list of error messages “.jar has been tampered!” are prompted in Eclipse.


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=).
No repository found containing: osgi.bundle,org.eclipse.m2e.maven.indexer,1.0.200.20111228-1245
Retry another mirror
Problems downloading artifact: osgi.bundle,org.eclipse.m2e.maven.runtime,1.0.200.20111228-1245.

File has invalid content:C:\Users\mkyong\AppData\Local\Temp\signatureFile755577951398164410.jar
Invalid content:jars/aether-connector-wagon-1.11.jar

The file "jars/aether-connector-wagon-1.11.jar" in the jar "C:\Users\mkyong\AppData\Local
\Temp\signatureFile755577951398164410.jar" has been tampered!
Invalid content:jars/guice-plexus-shim-2.0.0.jar
Invalid content:jars/maven-aether-provider-3.0.2.jar

The file "jars/maven-aether-provider-3.0.2.jar" in the jar "C:\Users\mkyong\AppData\Loca
\Temp\signatureFile755577951398164410.jar" has been tampered!
Invalid content:jars/sisu-guice-2.9.4-no_aop.jar
//......

Solution

From this thread, the JDK/JRE 7 will caused the Google plugin for Eclipse failed to download.

To solve it, change the Eclipse’s JRE back to more stable version, like JRE 6.

change jre in eclipse

Reference

  1. https://bugs.eclipse.org/bugs/show_bug.cgi?id=302509

About the Author

author image
mkyong
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

Comments

avatar
2 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Google App Engine Tutorialgopalakrishna Recent comment authors
newest oldest most voted
trackback
Google App Engine Tutorial

[…] Google Plugin for Eclipse – jar has been tampered! […]

gopalakrishna
Guest
gopalakrishna

Dear Sir,

Your tutorials helped me a lot while doing the projects. i should visit your site daily.i have new requirement that i have deal with google cloud storage. could you please keep a post on cloud storage using java.