Error (in GTK?) when trying to install EclipseXul plugin - eclipse

When installing EclipseXul plugin on EclipsePHP, it says:
Cannot complete the install because
one or more required items could not
be found. Software currently
installed: Shared profile
1.0.0.1288098146566 (SharedProfile_epp.package.php
1.0.0.1288098146566) Missing requirement: Shared profile
1.0.0.1288098146566 (SharedProfile_epp.package.php
1.0.0.1288098146566) requires 'SharedProfile_epp.package.php
[1.0.0.1288098145696]' but it could
not be found
Any idea what's wrong?
--update
When running from the terminal, I can see a message, when I open the updates windows:
** (Eclipse:3364): CRITICAL **: murrine_style_draw_box: assertion
`height >= -1' failed
Recently I have my whole home folder deleted by a script. Maybe there's something with this.. But I just downloaded a brand new Eclipse installation and put it in my /home/eclipse/ folder.

It seems your current user doesn't have write permission on your eclipse installation, so eclipse creates share configuration to manage the installation and other configurations. But eclipse has several bugs related to share installation on 3.6.
Try to install your eclipse in a folder that has write permission, then install other plug-ins.

I got this same error in Win7 when I copied from the Eclipse .zip straight to Program Files. Eclipse would run, but apparently didn't have write permissions. Moving it somewhere else fixed it.

For Windows Users:
Uncheck the Eclipse folder read only permission.
Choose to run Eclipse as Administrator in Compatibility tab.

Related

Eclipse: remove plugins that fail to load

Whenever I start my copy of Eclipse, I get the following error message:
I'm not interested in those plugins (I can't use Java 8 anyway, for reasons I won't bore you with) so there's no point in having them installed.
I went to the Help --> Installation Details menu (as suggested in various posts here on SO), but there seems to be no option to uninstall a plugin, you can only see the list of plugins and view their signature / copyright info, as you can see:
The only tab that has a "uninstall" menu option is the first one ("Installed software") but it only contains eclipse stuff and a couple of other addons I installed that have nothing to do with the ones I want to remove.
So, what am I missing here?
Here's what worked for me on eclipse Neon:
Step 1: Uninstall...
After "Uninstall", the some stuff is still registered and listed in "Plug-ins" under Installation Details. There is no option to uninstall or delete plug-ins in that view.
The following steps are outside eclipse
Step 2: Delete plug-in files from .p2/pool/ directory (plugins and features)
Result: The plugins were no longer registered or listed in "Plug-ins" list. Start-up showed annoying errors about icons that are not found.
Step 3: start eclipse with -clearPersistedState option
The missing icons error disappeared, but it was not possible to install the plugin again: Eclipse had registered somehow that the plugin was already downloaded and complained that the files were missing instead of downloading them again.
Step 4: Clean references to plugin from .p2/pool/artifacts.xml
Didn't really help, plugin could still no be installed. Not sure if this step is any good.
Step 5: Clean cache from .eclipse directory, primarily from .eclipse/org.eclipse.oomph.p2/cache
After clearing a number of directories in .eclipse, primarily caches, I was able to install the plugin again.
Maybe step 4 or 5 could be replaced by hitting "Reload" in the "Available Software Sites" preferences view?

dart-eclipse plugin crashing after installing dart plugin

I am using a new installation of Eclipse Luna SR2. I install the dart-eclipes update from the site https://storage.googleapis.com/dart-archive/channels/dev/release/latest/editor-eclipse-update/. The version 1.10.0-dev.1.9 (rev 45311) installed. However, after restarting eclipse after the installation prompt to restart, the Luna logo is visible for a short while and then crashes (is no longer visible). There is no console output or anything.
Old eclipse metadata have been removed from the installation folder.
Thanks for any help
The dart plugin checks for a 'dart-sdk' directory in your eclipse installation directory.
If you have dart and eclipse unzipped in your home ~/bin, then this should do the trick:
$ cd ~/bin/eclipse
$ ln -s ../dart/dart-sdk/
Now you should be able to start ./eclipse.
Update:
I have submitted this issue to the dart bug tracker:
https://code.google.com/p/dart/issues/detail?id=23335
Warning: the suggested symbolic link workaround will erase the target dart-sdk directory when doing an upgrade from inside Eclipse. If you don't want this to happen just copy the whole directory instead of linking.
Go to the dart directory you dowloaded.
Copy the dart-sdk directory.
Paste it directly in your eclipse directory. (the directory
containing eclipse.exe)
Bonus :
To get the error messages when Eclipse crashes you can find the log in the directory you specify when you try to launch Eclipse.
--> "MyJavaProjects"\.metadata\.log.txt

An error occurred while collecting items to be installed (Access is denied)

I'm getting the error given below when I try to install the upgrade from Eclipse and it goes like half way and then throw the error.
An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to write to repository: file:/C:/Program%20Files/eclipse/.
C:\Program Files\eclipse\plugins\org.jboss.netty_3.2.4.Final-201112281337.jar (Access is denied)
Kindly provide the solution.
Thanks
If you have problems using the location: http://dl-ssl.google.com/android/eclipse/,
try editing the location by replacing "http" with "https" or the other way round.
On Windows 7, the Program Files directory is protected so apps can't automatically write there. The simplest solution I've heard is just to install Eclipse into a user-writable location instead. For example, C:\Java\Eclipse
You should be able to just move your entire eclipse directory, there's no registry entries or anything else that ties Eclipse to the place where you extracted it.
[Edit]
Have you checked that the directory it is complaining about i actually writable? Other than that, I really don't have any ideas. I haven't worked on Windows in several years and never with Win7. My only other suggestion is to just download the latest Eclipse, install it to a new location (do NOT intall it over top of your existing Eclipse), and point it to your existing workspace.
I just solved this problem by unchecking Read only checkbox of the Program Files/eclipse folder on win7.
Apply to all files and folders.
I had also the ADT Bundle that had the HTTP as update url.
Changing it to HTTPS solved the problem for me.
None of the above worked for me.
Instead, I tried installing the plugins I needed via the Eclipse Market Place, and that worked without issue.
Click "Help" Menu.
Click "Eclipse Marketplace..." menu item.
Enter the name of the plugin you want.
Click "Install" when the plugin appears in the Marketplace List.
Restart Eclipse.
if you do not wish to change the eclipse directory, then start eclipse as administrator (right click run as administrator) and install the feature again. it worked for me.
I got this error on my ubuntu box until I ran eclipse as root and installed from there:
$ gksudo eclipse
Eclipse was trying to download the packages to /usr/lib/* where I don't have write permissions
Changing from https:// to http:// worked for me
Installig Eclispe ADT from market place solved this problem for me.
I solved the problem very easily.
Go to Control Panel -> Network and Sharing Center -> Windows Firewall -> Turn off Windows Firewall
And try to install again and see the magic :)
In my case I entered:
Error Log - found "An error occurred while collecting items to be installed" - right click and select "Open Log". From there I know what goues wrong(in my case PMD). I solve the problem in one project and all works ok.
If there are any proxy networks are configured remove them till plugins are installed

Can't get GNATbench working with Eclipse

I'm trying to get the GNATbench plugin to work with Eclipse. I put the plugin and feature files in the correct places. I restart Eclipse and I am now given the option to create a new Ada project but when I try to do it I get this error:
The selected wizard could not be started. Plug-in com.adacore.gnatbench.cdt was unable to load class
com.adacore.gnatbench.ui.internal.wizards.NewAdaProject. An error
occurred while automatically activating bundle
com.adacore.gnatbench.ui (235).
Any idea what is causing this?
This is the issue you'll see if you attempt to use GNATbench with the 64-bit version of Eclipse. As the system requirements note in the readme, it's only compatible with the 32-bit version. I just did a quick test, which confirmed the issue.
I checked the README file of this plugin, it says this is required:
"C/C++ Development Tools (CDT) plug-in for Eclipse 3.5.x or 3.6.x"
Have you installed that?
The other important thing is that the downloaded archive file is actually a P2 repository installable file. In this case I would unzip a new eclipse (or remove manually the related plugins you copied over, this is the hard way), start it, click on help/install new software, click add, select archive, point to your downloaded GNATbench zip file, select the 2 features appearing on the avail "software" list and continue the wizard normally (next, finish...). If there is a version problem the wizard should "validate" it.
There was a plugin for Ada called Hibachi, IIRC... I'm not sure where it stands on development or completeness though.

Plugins won't install on Eclipse

I am trying to install subversive and checkstyle onto Eclipse IDE for Java Developers however the following message appears:
"Cannot complete the install because one or more required items could not be found.
Software currently installed: Shared profile 1.0.0.1316138460759 (SharedProfile_epp.package.java 1.0.0.1316138460759)
Missing requirement: Shared profile 1.0.0.1316138460759 (SharedProfile_epp.package.java 1.0.0.1316138460759) requires 'org.maven.ide.eclipse [1.0.100.20110804-1717]' but it could not be found"
What does it mean? Is there another way to install them as I need both plugins for my course.
Please help and thank you :)
Try running Eclipse as administrator, I just had the same issue and this worked for me.
There's an alternative to running Eclipse as an administrator: you can manually give write permissions to your "eclipse" folder for all users (or just your current user).
This way Windows/UAC won't pop up the security question that you see when you run programs as admin.
Hi I had the same problem just yesterday.
I was uploading SDK for android and found your question in a google search.
I reverted back to an older version of eclipse. Link to older version of eclipse
This solved it for me.
Remember to delete eclips from your program files. You do this by just physically deleting the file from program files (not through uninstall). Then also make sure you delete your workbench. This is a file called workbench in your docs. Well mine was in my docs, it could be somewhere else on your system.
I am using windows 7.
Best of luck.
I had this problem, but I had to dig harder to fix it.
The source of my problem was the shortcut to launch Eclipse had this in the Target field:
"C:\Program Files\eclipse\eclipse.exe" -configuration C:\Program
Files\eclipse\configuration
The problem with this is that without double quotes around the "-configuration C:\Program Files\eclipse\configuration" section it would hit that space in 'Program Files' and use C:\Program for storing configuration some of the time. Generally, if you have C:\Program you should make sure programs didn't put random files in there by mistake.
To fix this I had to move the configuration files from C:\Program to C:\Program Files\eclipse\configuration, picking and choosing along the way. Change the Target field to:
"C:\Program Files\eclipse\eclipse.exe" "-configuration C:\Program
Files\eclipse\configuration"
and I was good to go.
I had the same problem, and I solved it by setting
"Contact all update sites during install to find required software"
to true.
(I used the Eclipse install manager, in
Eclipse IDE for Java Developers,
Version: Indigo Service Release 1
)
In my case, updating to the latest version of Eclipse (Juno) did the trick. Perhaps your add-on won't run on your version?
I think you need the maven plugin in order to install your plugin. If that's the case, you can follow this this instruction to install it.
Use eclipse update manager to install the plugins.. Then it will automatically select dependent plugins..You dont need to bother about dependent plugins in that case
All I had to do was completely open up full permissions for all users to the directory. This is dangerous if you have a multi-user system but Windows 7 seems to default to giving processes not very high permission levels; some processes (such as Eclipse Updated) don't know how to deal with this and request user permission, so they just bomb out. Easy fix: full control to all users and processes for the Eclipse Directory.