Can't connect to Eclipse Marketplace - eclipse

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.

Related

Error when importing Grinder to Eclipse: No marketplace entries found to handle clojure-maven-plugin

I want to import the Grinder(java load testing tool)into eclipse as a new project.
These are my environment:
Win7 64bit
JDK 1.6 32bit
eclipse-java-luna-SR2-win32
These are my steps:
Eclipse--import from git uri ,I used the git link that provided by official
Eclipse--File--Import--Maven--Existing Maven Projects,I use the directory which contain the source files that just downloaded by git
Then Eclipse started to build and handle the dependency,when the process is over,Eclipse gave the error info:
” No marketplace entries found to handle clojure-maven-plugin:1.3.15”
I don’t modify the pom file ,and use the default maven plugin of Eclipse:m2e.I don’t install the maven and other library.
I try to delete “C:\Users\g.m2\repository”,and redo these steps ,however,it doesn't work.
Plz help me,thanks!
Not sure what is the purpose. Are you planning to develop/enhance the grinder tool. If yes, then probably you should connect to its developers in the grinder site.
And if you are planning to use the tool and trying to configure eclipse for the scripting purpose, your should try Grinderstone. Note that it is outdated and works only with the specific version of software. Otherway, you can use pydev in the eclispe for scripting but you can't run there.
Hope it helps..

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.

Installation of FindBugs plugin with Eclipse IDE for Java EE Developers

I'm struggling to get the Eclipse FindBugs plugin to work and am sure there's a schoolboy error being made somewhere.
I extracted the file findbugs-2.0.2-rc2.zip to a local folder C:\Program Files\findbugs-2.0.2-rc2 and running findbugs.bat, FindBugs works fine running it over a local Java (Eclipse) project.
I added the FindBugs update site, it found "FindBugs Feature, 2.0.1.20120712" and installed it. Restarting, right-clicking on an open Java Project doesn't display the "FindBugs" option (that this video shows).
I looked in Window > Preferences to try to find a way to inform the plugin of the local FindBugs installation (in Program Files), but couldn't find anything.
Uninstalling "FindBug Feature", I tried extracting the FindBugs Eclipse plugin zip file into Eclipse's plugins folder, but after a restart, saw no difference.
Help > About Eclipse > Installation Details > Installed Software lists "FindBugs Feature 2.0.1.20120712".
Can anyone please offer a pointer on where I'm going wrong here? Thanks!
Windows 7, Eclipse IDE for Java EE Developers Juno SR1, JDK 1.7.0_09, FindBugs 2.0.2-rc2
As suggested above, problem is likely caused by not having appropriate write access to the C:\Program Files\Eclipse\plugins folder.
Solution:
Close Eclipse. Restart Eclipse as Administrator (right click - Run as Administrator). Reinstall plugin. Restart Eclipse.
It looks like the Findbugs plugin wasn't installed properly and/or disabled by Eclipse. There can be several causes.
Multiple versions of the same plugin. To make sure this isn't the case, remove all Findbugs versions (installed manually and via the marketplace), and reinstall one (preferably via the marketplace). Watch for any warnings during installation.
There is a (dependency) conflict with another plugin. However, if this is the case I think Eclipse will warn in the log which other plugin is the cause of the conflict.
Rights problem. Make sure you have write permissions in the main Eclipse folder and all it's child folders.
I remember reading somewhere that installing Eclipse under the C:\Program Files\ in Windows can also be causing problems. Try moving Eclipse to a different folder, e.g. C:\Eclipse
Hi I also faced the similar problem but from my own experience i can suggest you the solution :-
Plz ensure that you are using eclipse version 3.6 or higher. findbugs 2.0 is not compatible with Eclipse 3.5(Eclipse Galileo).
1) Plz extract the findbugs zip file into eclipse folder(wher your eclipse is installed). This will automatically move findbug plugins into eclipse plugins folder. Restart the eclipse and you will find findbugs option on right clicking on project.
2) if 1 step does not work plz remove all the findbug jars for the eclipse plugins folder and place the complete folder into the eclipse dropins folder. Restart the eclipse and you will see the difference.
You can follow these step's to make findbugs work in your eclipse.
1.Install FireBug plugin from marketplace.
Help->Eclipse Marketplace ->then search for FindBugs
2.Configure FindBug for your project
using Maven Without Maven
This worked fine for me using eclipse juno.

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.

Problem installing Maven plugin (m2eclipse) in Eclipse (Galileo)

I have Eclipse Galileo (for Java EE Developers) installed, and I'm now trying to get the m2eclipse Maven plugin installed as well.
I follow the basic steps described at http://m2eclipse.sonatype.org/installing-m2eclipse.html, and it seems to be installing just fine. However, after restarting Eclipse after the install it doesn't seem to be anywhere. I should for instance have the ability to create a new maven project, but when the new-project wizard opens, there is no folder for Maven (I also cannot find any reference to it in the context menus of the existing projects I have).
When I click at Help > About Eclipse > Installation Details, I find "Maven Integration for Eclipse (Required)" in the tab "Installed Software", yet another thing pointing towards a successful installation (but I can't find it under the "Plug-ins" tab, should it be there too?)...
I feel like I'm just missing something very obvious, but right now I just don't see it...
I managed to find the answer to this myself:
I had put the Eclipse installation folder under c:\Program Files\, but when I moved it directly under c:\ instead, the plug-in installation worked just as it should. I assume that is because Eclipse wasn't allowed to write to its own installation folder (but I didn't get the usual question from Windows that something was trying to access Program Files either...).
In one way I feel like I should be a bit ashamed that I didn't think of this before. On the other hand though, there could have been some reasonable error message stating that something failed during the plug-in installation...
Well, I hope this at least helps somebody else as well :)
Did you check the m2eclipse installation requirements?
In particular, you need WTP.
"Maven integration for Eclipse" (core feature) and optional "Maven POM Editor" feature depend on the "Eclipse XML Editors and Tools" feature from WST
"Maven integration for WTP" feature provides Maven project configuration for WTP
Did you have a previous version of m2eclipse installed? Did you uninstall it before to install the latest version? Just in case, does the following note applies to you?
Note about 0.9.8 Workspace Incompatibility: If you are using
m2eclipse 0.10.0 with a workspace that
contains projects created under
m2eclipse 0.9.8, you must remove the
workspaceState.ser file. The
workspaceState.ser file is located
within the workspace directory in
$workspacedir/.metadata/.plugins/org.maven.ide.eclipse/workspaceState.ser.
If you remove this file, m2eclipse
0.10.0 will regenerate it as needed.
In my case, uninstalling the previous m2eclipse version didn't work and I had to start with a fresh Eclipse install (maybe try this also).
Regarding the plugin tab, this is what I have (to confirm that you should definitely find something):
alt text http://www.imagebanana.com/img/84h6mw8z/screenshot_008.png
Note that I also installed some extras from m2eclipse Extras Update Site: http://m2eclipse.sonatype.org/sites/m2e-extras
I was able to solve this problem by going into Program Files, right click on the eclipse.exe file and select "Run as administrator". When I restarted Eclipse it said I had no plugins installs so I reinstalled and my problems were solved.
PROBLEM SOLVED
I had this same problem and I used the following software site:
["M2Eclipse - http://download.eclipse.org/technology/m2e/releases/1.0] (without square brackets) to download the M2Eclipse plugin in Eclipse 3.7.0 (Indigo). For more information refer this.
To solve the problem of 'not getting Maven plugin running in eclipse' , it can be solved by altering admin rights to the .m2 folder . Right click on .m2 folder and go to network sharing. give all rights to all users. Restart eclipse and maven options will start to appear in Eclipse.