Eclipse-PMD : error while installing through eclipse market place - java

I'm trying to install the PMD source code analyser plugin for Eclipse. It's available through Eclipse Market Place, but I'm getting following problem in the phase of installation :
Why am I getting this problem ?
EDIT
I do not have this menu even though I have added the ruleset configuration file

I'm the creator of eclipse-pmd, the plugin you are trying to install. I tried to install it myself just now and it worked without any problems. So I can only guess what could be the problem in your case:
The repository was temporarily not available
Simply try again.
You are using a (very) old version of Eclipse
The plugin requires Eclipse Indigo (3.7) or later. I tried to install eclipse-pmd with Indigo and Luna just now and it worked both times.
Run Eclipse with Java 7
You need to run Eclipse with a JRE 7 or later. There have been problems during the installation with people using an older JRE in the past. However they could finish the installation but Eclipse silently refused to load the plugin (this has been fixed a few versions ago though).
Proxy configuration
Although unlikely as you came this far, please open the proxy configuration in Eclipse and check if the settings are correct and the domain is accessible.
If you tried everything I suggested above and are still not able to install the plugin, please head over to the project's Github page and open an issue.

Related

How do I properly setup JavaFX for Eclipse Mars?

My Java specifications: JRE: 1.8_u60, JDK: 1.8_u60
JAVA_HOME is set-up correctly.
I´ve downloaded and installed the latest Eclipse Mars Java SDK (Eclipse Mars.1 / 4.5.1) from the official Eclipse download page and used the installer.
I used the Eclipse update site from e(fx)clipse to install the JavaFX IDE.
As described in the site´s tutorial I should now be able to create FX projects with File > New > Other > JavaFX ...
But unfortunatelly I don´t have any option to create an FX project. There is no sub-section called JavaFX.
How do I set up JFX for Eclipse Mars properly (if my setup does not work at all)? here is one more similar Question asked.
Remove the installed plugin and try installing it through Marketplace.
Edit after the answer was accepted:
Just for clarification, it should also work in the way OP has tried it. Before one tries to troubleshoot why it's not working, it is very convenient to verify that the installation is not working from marketplace either.
Since JavaFX is now on default classpath, you do not need any extra plugin to create a JavaFX application. You can just create a simple Java Project in Eclispe and get started.
But, e(fx)clipse is recommended to install on Eclipse because of the extra features it adds to the IDE.
I just finished installing the e(fx)clipse plugin on my Eclipse Mars to check if your scenario can be reproduced, but unfortunately after installing the plugin & restarting Eclipse, I can create JavaFX projects.
You can either try restarting Eclipse or re-install the plugin again.
As mentioned in previous Question by tomsontom, you can check your status of e(fx)clips bundles. Or you can use All-In-One Download.

Adding PyDev eclipse pulgin manually

I am on an assignment to work with Jython. I tried to install PyDev plugin to my eclipse ( Kepler service release 2 on Linux 64 bit machine )manually (dev machine doesnot have internet connection). But when I do manually by downloading .zip file and adding it as following:
Help-> Install new software ->Add -> Archieve:
but I am getting an error.
No repository found at file:/home/lhananth/eclipse/dropins/PyDev%203.6.0.zip!.
No repository found at file:/home/lhananth/eclipse/dropins/PyDev%203.6.0.zip!.
I tried to manually add the unziped folders to dropin folder of eclipse but its not working as well- Python is not appearing as a selection in the Eclipse, Window, Preferences.
Can some body help me out ? (I tried all the replies for similar posts available in stack overflow)
Maybe you're just missing some slashes after file:
file:///home/lhananth/eclipse/dropins/PyDev%203.6.0.zip
http://en.wikipedia.org/wiki/File_URI_scheme
I solved this problem:
There was no issue with either eclipse or with PyDev. It was about the Java version I had. PyDev works with JDK 7, but I had JDK 6. Due to this even after I copied the PyDev to droppins, nothing was shown up in Preferences. Once I used JDK 7, its working.
Thanks,

Issues with Eclipse setup on Ubuntu 12.04

I am facing setup issues in my eclipse Kepler on Ubuntu 12.04 on Virtual box.
Firstly i was facing issue same as:
Eclipse Open declaration in Java project
I tried everything mentioned here, but nothing seems to be working for me...
Then I explored some more, and get another error message similar to:
I am getting resource not on the buildpath of the project
As per its 1st answer, 2nd point go to "Java Build Path", I tried going there, but i cannot find any "Java Build Path" section in my project property.
When I click on Project properties, it shows only options given in the following screenshot:
I know this is some easy setup issue, but i am unable to handle it.
The answer is a write-up of the discussion in the comments:
If you are on Ubuntu 12.04 and install Eclipse you could end up with a bare-bones install without the Java Development Tools (JDT).
After installing the package manually via Help -> Install New Software and then searching for Programming Languages / Eclipse Java Development Tools Java development should work.
For maven projects you should use the import Existing Maven Projects instead of importing it as a java project.

Install trouble for Android SDK in Eclipse Helios

EDIT: I fixed it by not installing the NDK Development stuff. I don't know what it is, or what it does, but it fixed my problem.
I'm on Windows 64-bit, using Eclipse Helios, and trying to install the latest Android SDK. So far, I've been able to download and install the SDK Manager and successfully ran through its stuff.
The trouble comes in when I try to install inside of Eclipse (Help -> Install New Software). Every time I try to install using either the URL address (http://developer.android.com/sdk/installing/installing-adt.html) or the .zip file I get this error:
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=).
Comparison method violates its general contract!
Comparison method violates its general contract!
The internet doesn't seem to have any answers that I can find. Thanks!
Late to the conversation...
But I have found this error when trying to install packages, not at all associated with Android, from older Eclipse versions, which by now includes Helios. It actually took me a while to figure out all those Eclipse project names are actually versions. At the time of this writing, Eclipse Kepler is the latest, once I upgraded (pretty much a fresh install) to Kepler and tried again to install the packages, everything worked fine.
Hopes this is helpful to somebody.
Run eclipse as administrator and install Android SDK.
You must use https://dl-ssl.google.com/android/eclipse/ for SDK installation.
See Install ADT Plugin
By the way, which version of java are you using? I reckon the error is possibly an eclipse bug, related to Java 1.7.
Try JRE 1.6 and see if it works!
You need the following tool for starting the android devolopment
(1) Eclipse ide
(2) ADT for eclipse (android plugin for eclipse)
(3) Android SDK
You get a brief idea about each of these steps from the following link
http://codeglympse.blogspot.in/2012/10/installing-eclipse-and-android-sdk.html

Is the Google Eclipse Plugin for Juno (Eclipse 4.2) broken?

I just installed Eclipse EE Juno (4.2) and a whole slew of plugins for it. I am now attempting to install the Google plugin (GAE and GWT) and am getting an error when adding the update site through Juno's Install new software window:
Name: Google-Plugin
Location: http://dl.google.com/eclipse/plugin/4.2
When I try to enter this I get:
Could not find http://dl.google.com/eclipse/plugin/4.2
I see this question from a few months ago. Although I am having a very similar problem, I think I have a different problem altogether.
When I change the Location to http://dl.google.com/eclipse/plugin/3.7, I get the same error (except with 3.7 appended on the end of the error message instead of 4.2). I definitely have Internet access (how else would I be posting this question?!) so that's not the issue. If this was only working for the 4.2 plugin, I would happily try the "workaround" mentioned in the other post, or even step back down to Eclipse 3.7 (I have to have this plugin!) until 4.2 was working. But the fact that it's not even working for 3.7 tells me that something else is awrye here. Thanks in advance!
Edit:
Just to mess around with things, I have downloaded Indigo (3.7) and immediately attempted to install the Google-Eclipse plugin. I entered the following for my update site:
http://dl.google.com/eclipse/plugin/3.7
And received a nasty error:
Artifact not found: http://dl.google.com/eclipse/plugin/3.7/compositeContent.xml.
Artifact not found: http://dl.google.com/eclipse/plugin/3.7/compositeContent.xml.
http://dl.google.com/eclipse/plugin/3.7/compositeContent.xml
Am I going crazy here?!?! I've installed my fair share of Eclipse plugins and never had this much trouble. Especially from Google. And I know its not my Internet connection or my Eclipse instance because before I attempted to install the Google plugin, I installed Subversive, IvyDE and EclEmma...
It was also broken for me a little while ago, but seems to be working now. Maybe the site was down for a bit?
You can try installing the plugin from archive as described in the link:
https://developers.google.com/eclipse/docs/install-from-zip
Basically what you are doing is, you download the plugin as a zip(archive) and browse this archive instead of update site, during the plugin installation.

Categories

Resources