Error installing EGIT In eclipse - java

I am having some real issues installing the eGIT plugin for eclipse.
If i go to the install new software page and enter http://download.eclipse.org/egit/updates-nightly or http://download.eclipse.org/egit/updates-nightly in the work with bar i get no results - only a could not find message.
If i change the work with to all available sites, and then search egit i get nothing.
If i try and do an update of eclipse and then search I still get nothing.
I have no idea what else i need to do! I am using Juno which apparently has it pre installed but i dont see it in the show view or persepctive window anywhere

Your Eclipse installation simply has trouble accessing the Internet. Either your machine really isn't connected, or your proxy settings inside Eclipse are wrong. For the latter, look at Window -> Preferences -> General -> Network connections.

window -> open perspective -> other -> git repository exploring
I entered the same link as you provided and I see the plugin. What do you see? Can you post the picture?

Related

ADT reverting back to standard Eclipse when installing plugin

I'm using the ADT of Eclipse, downloaded from the Android Dev site. Each time I install a plugin and restart ADT, the splash screen reverts back from this (The ADT splash) to http://www.stuermer-benjamin.de/v12_1/wp-content/uploads/2012/08/001_launch_eclipse_4.2_juno.jpg&w=905&h=">this (The vanilla Eclipse splash). After the application has loaded, the way I have my panels laid out reverts back to the default and the UI doesn't look like the regular Eclipse interface like this instead the elements are grey and boxy. The plugin then never works - when I try to perform an action that the plugin should handle I get an error message popup.
I've had this happen with any plugin I try to use (from the Help > Install new software... dialog). Each time I have had to delete and recreate my Eclipse program folder with a fresh download. Does anyone know what is going wrong and how I can fix this/install plugins correctly?
It's a bug and it's reported here: http://code.google.com/p/android/issues/detail?id=41126
Edit: It's solved: http://code.google.com/p/android/issues/detail?id=41126#c73

Update ADT from 21.0 to 21.1

i downloaded APIs 15,16 and 17. After the download is finished, I closed eclipse but when i open it again it gives me a message box saying I need to update my ADT from 21.0.0 into 21.1 or higher, (and my current project suddenly didnt work, and full of red lines). There is a "Check for Updates" button. But after clicking it, it says there was no update found. I asked Google and found out that there is already ADT 21.1 released. I am wondering if I should just download the latest ADT bundle, but also looking for a quicker solution. I said “quicker” because my internet connection is a bit slow. :( It will take me a whole day to finish the download. :( And also after i downloaded the API, my graphical layouts do not show any more. There is a message saying "Eclipse is loading the SDK. Home.xml will refresh automatically once the process is finished." I waited for eternity, but nothing shows up. Im pretty messed up here. My project does not work anymore, although it worked well before i downloaded the APIs. Can anyone help me?. Thanks.
Go to eclipse > help > Check for updates.
It should list the latest update of adt. If it doesn't work, try this :
go to eclipse > help > Install new software
Click on add
add this url : https://dl-ssl.google.com/android/eclipse/
It will list the updates available- which should ideally be adt 21.1.0 (latest)
install the latest adt and everything should be fine.
The same thing happened to me, here's what I did-
Apparently, the SDK updated to version 21.1, but ADT, still at 21.0. 21.1 is currently a preview release (so I'm not sure how we accidentally updated the sdk...), so you have to manually add the update source. There's a nice guide (http://tools.android.com/preview-channel), but here's what you need:
Start Eclipse, then select Help > Install New Software.
Click the "Add" button, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Previews" for the Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse-preview/
Click OK.
If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
This worked for me, although I would rather have just downgraded the sdk.
Hope I helped!
go to window -> SDK manager and then install Android SDK Tools to 21.1 and then check for updates again.
I used to get error " update cannot be installed " for that run eclipse in Admin permission.
same with your problem !!!
btw, Thanks for the info ! I tried it after read this and wohooow It worked ! thx
go to eclipse > help > Install new software
click on add
add this url : https://dl-ssl.google.com/android/eclipse/

Egit cannot find private GitHub repo

I just signed up for a GitHub micro plan and created my first private repo:
https://github.com/myproj/repo.git
(That's not the real URL). I then installed Egit for Eclipse (Juno), restarted, and tried to import repo.git. When I do so I am getting a Transport Error from Eclipse. Here are the exact steps I took to arrive at this issue:
Downloading eclipse:
Installing EGit:
Importing project from GitHub:
When I try to search for my repo, Eclipse says it's not found:
Trying again, via Git Repository Exploring perspective:
"Transport Error": ?!?!
Being so new to Git, EGit and GitHub, I'm wondering if any of the following are happening:
Do I need to do something from inside my GitHub account/repo (e.g., turn something on, adjust a setting, etc.) to make it "searchable" from inside EGit? SSH keys perhaps?
Do I need to configure Egit somehow?
Am I going about this the wrong way entirely?
The bottom line is: I believe this is the "normal" way to install Eclipse and EGit, so I'm perplexed as to why this isn't working. I'm wondering if it's some bug with EGit and private repos? Thanks in advance.
You can also try Window > Open Perspective > Git Repository Exploring and right click > Paste Repository Path
Not sure whether this is the problem but you may try adding an SSH key. Described here.

Java Eclipse IDE - Repository Errors

I've been up for hours now, searching online for a solution. I can happily say, this has really pissed me off.
Upon opening 'Install New Software' I get "'Contacting Software Sites' has encountered a problem.
Some sites could now be found. See the error log for more detail."
Here's the error log:
Some sites could not be found. See the error log for more detail.
Unable to read repository at
http://download.eclipse.org/webtools/repository/indigo/content.xml.
Cannot assign requested address: JVM_Bind Unable to read repository at
http://download.eclipse.org/eclipse/updates/3.7/content.xml. Cannot
assign requested address: JVM_Bind Unable to read repository at
http://download.eclipse.org/mylyn/releases/indigo/content.xml. Cannot
assign requested address: JVM_Bind Unable to read repository at
http://download.eclipse.org/releases/indigo/content.xml. Cannot assign
requested address: JVM_Bind
Any ideas?
I want to install MercurialEclipse but it cannot find the repository, same for the defaults.
I had the same problem. And found solution on russia site.
In file eclipse.ini under line -vmargs add this line:
-Djava.net.preferIPv4Stack=true
This will resolve problem.
Site with explanation
I have encountered the same problem. I have resolved disabling the site using:
Window → Preferences → Install/Update → Available software Site
Here the site that can be used have a tick (enabled). You must find the site that caused the problems and disabled them.
I hope this could be useful.
I encountered the same problem and solved it by disabling the McAffee Host Intrusion Detection program during the installation.
I noticed an additional symptom that I wasn't able to browse the Internet using the Eclipse Internal Web Browser feature using below Eclipse Menu navigational steps:
Window → Show View → Other → General → Internal Web Browser.
I have had the same problem in the past when installing new software in Eclipse.
In my case it has always been a problem with my Eclipse Proxy settings.
Eclipse > Preferences > General > Network Connections
Make sure you have your proxy settings configured correctly. If you are on a college or office network you can get the Proxy details of the administrator. In my case I had to configure the HTTP, HTTPS and the SOCKS.
The SOCKS requires that you input your username and password.
NOTE: If your network username or password changes you will have to update this.
In my case I had to change the "Active Provider" drop down from 'Direct' to 'Manual'
This solved all my problems
More info at http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-net-preferences.htm
I had the same issue, to resolve it, I preformed the following steps:
Made sure the internal browser was able to connect to the internet.
Window/preferences
install/update
available Software sites
click on each row that is checked, one at a time and at the bottom right side of the window it will tell you if the resource is available or not. If that resource is not available then uncheck it. I then added the following resource site and this was able to fix the error.
Name:Composite Marketplace Repository
Location:http://marketplace.eclipse.org/repo
HOPE THIS HELPS...
This is a shot in the dark and might not help but, have you tried the following:
Can you connect to internet at all through Eclipse?
Open the internal webbrowser. In Eclipse: Window -> show view -> Other -> General: Internal web browser.
Look up any normal adress, is it working?
Can you connect to another update site? Try for example Eclipse Emma:
http://update.eclemma.org/ Do you see anything there?
What are your proxy preferences? Go to Window -> preferences ->
General: Network connections.
The active provider:
Specifies the settings profile to be used when opening connections. Choosing the Direct provider causes all the connections to be opened
without the use of a proxy server. Selecting Manual causes settings
defined in Eclipse to be used. On some platforms there is also a
Native provider available, selecting this one causes settings that
were discovered in the OS to be used.
If internet is working fine outside of Eclipse, try changing to
Native. After that, try Direct.
I have encountered problems where an update site would not load, then
I had to remove it and add it again. This forces Eclipse to reread the
contents of the site even if it has a cached copy. So, if you still
get no connection to the indigo update site, but everything else is
working, try that. Go to Window -> Preferences -> Install/update:
Available Software sites. Then remove and add the indigo site. Just
remember to copy the adress so you can add it again.
This is a copy and paste from this post.
If the embedded browser works but updates will not work you might just be using a 32 bit Java on a 64 bit eclipse. Download the 32-bit version and see if that helps. Worked for me.
I also encountered the same problem and nothing here worked. What I found the problem to be was an issue with the versions of openjdk and oracle-java...as a result I installed all versions from 6-8...I'm not sure which one fixed the issue but after installing all of them the problem was resolved. Hope this helps
I was having the same problem and I checked my proxy setting for all the browsers which was installed ......... One of the browser(IE 8 for my case ) was using the proxy setting to execute the testing sites of the company ...........
I unchecked that one ......... restarted my eclipse and now its working fine ..........
My solution was:
Window → Preferences → Install/Update → Available software Site
edit the problematic sites-> remove the 's' from 'https' on the site lines!
using Luna.
this is reference of
Unable to read repository at http://download.eclipse.org/releases/indigo
Can you connect to internet at all through Eclipse?
Open the internal webbrowser. In Eclipse: Window -> show view -> Other -> General: Internal web browser.
Look up any normal adress, is it working?
Can you connect to another update site? Try for example Eclipse Emma: http://update.eclemma.org/ Do you see anything there?
What are your proxy preferences? Go to Window -> preferences -> General: Network connections.
The active provider:
Specifies the settings profile to be used when opening connections. Choosing the Direct provider causes all the connections to be opened without the use of a proxy server. Selecting Manual causes settings defined in Eclipse to be used. On some platforms there is also a Native provider available, selecting this one causes settings that were discovered in the OS to be used.
If internet is working fine outside of Eclipse, try changing to Native. After that, try Direct.
I have encountered problems where an update site would not load, then I had to remove it and add it again. This forces Eclipse to reread the contents of the site even if it has a cached copy. So, if you still get no connection to the indigo update site, but everything else is working, try that. Go to Window -> Preferences -> Install/update: Available Software sites. Then remove and add the indigo site. Just remember to copy the adress so you can add it again.
As suggested in a comment below by #lostiniceland, this is a simpler way to achieve the above:
Goto Preferences -> Install Update -> Available Software Sites => select the entry and click the "Reload" button to the right. This is sometimes also helpful when you have a local updatesite for testing custom plugins
My Eclipse Installation:
SuSE Linux Enterprise Server 11.
Eclipse Neon 64-bit
Oracle JDK jdk1.8.0_51 64-bit
I worked out and followed many of the suggestions in the web and nothing helped.
Except that one:
In eclipse Go to "Window -> preferences -> General: Network connections" and set the "Aktiv Source" to "Native"
Exit eclipse
In the shell prompt, type
"export http_proxy=http://proxy-rzf:8080" (your own proxy server and port)
invoke eclipse
DONE!!!
If you then go to the eclipse "Network connections" settings you will see something like the image:
I hope i could help somebody with that. It cost me a lot of hours searching and trying.

How to uninstall plugins in Eclipse 3.4.X or higher

The GUI for managing plugins in Eclipse got a bit of an overhaul in version 3.4.0.
This GUI is accessed via the "Software Updates..." option in the Help menu.
The option to remove the selected Mylyn plugin is greyed out. In fact, this is true of virtually every installed plugin. I know that the Mylyn plugins are optional, so why amn't I provided with an option to remove them?
The following text is quoted from the Eclipse help docs:
The Uninstall wizard allows you to review and uninstall items in your configuration. This wizard is shown when you select items and press Uninstall... from the Installed Software page. To uninstall software from your system:
Click Help > About and then click Installation Details... to open a dialog showing pages that provide more detail about your installation.
Click the Installed Software tab to see a list of the software items that you have installed into your system.
Select the items that you wish to uninstall.
Click Uninstall...
The Uninstall Details page will show you a list of the items that will be uninstalled. Expanding each item will show what additional items (if any) will be uninstalled as a result of your choice.
If you change your mind about which items should be uninstalled, you may click Back to see a checkmark list of the items you selected before. You may check and uncheck different items in the list, and click Next when you are ready to continue.
Click Finish to start the uninstall.
Once all of the software is uninstalled successfully, you will be prompted to restart for the Workbench. Click Yes when asked to exit and restart the Workbench for the changes to take effect.
And just to update it for Helios - Eclipse 3.6
Help->Install New Software at the bottom of dialog there is link What is already installed once you click on that you will get list of installed plugins and Uninstal... button
eclipse 3.5(Galieo)
Help>> Install New Software >> Already Installed Plugins >> select Plugins >> Uninstall works charm.
There are distributions of Eclipse that come packaged with certain plugins that can't be mix-and-matched. That is the case with Mylyn, that went from a student's thesis project to an integral part of Eclipse. If you want to actually get rid of Mylyn, you may want to install Eclipse classic instead of the distribution you have, and then install the stuff you need.
The standard Eclipse distributions come with Myln.
BTW, Eclipser 3.5 completely changes all these screens :(
If you are using Windows, make sure you are running Eclipse as administrator. Without administrator privileges, some options may be grayed-out in "Installed Software".
In eclipse Helios (version 3.6), to uninstall a plugin:
Go to Help->Install New Software...
Click on "What is already installed?" link at the bottom right side of the dialog
In the Installed Software tab choose the software you want to uninstall
Click on the "Uninstall..." button at the bottom
Click 'Finish' on the Uninstall Details dialog
Observe the 'Uninstalling Software %' status at the bottom status bar of eclipse
Click 'Restart Now' when prompted to do so.
Eclipse restarts. Choose the workspace. Now when you go again to the Installed Software window , you do not find the uninstalled software.
In Eclipse 3.6 Helios, the interface has changed again. Go to "About Eclipse", and then click the "Installation Details" button in the about box.
While Help → About Eclipse IDE [or wherever it was in the past or will be in the future] → Installation Details → Installed Software → Uninstall... is the official and preferred way there are features/plugins the latter button of which is disabled.
Remember also that there aren't only plugins but features too. In my case I wanted to remove Mylyn and Wild Web Developer from a rather fresh Eclipse IDE for Enterprise Java and Web Developers package. I did the following.
But first a:
DISCLAIMER
Enter ECLIPSE_HOME at your own risk. Mistakes like typos might be in the following, too. I take no responsibility for whatsoever.
Created the directories features.DISABLED and plugins.DISABLED in Eclipse's home dir.
Moved *mylyn* from ECLIPSE_HOME/features to ECLIPSE_HOME/features.DISABLED
Moved *wildwebdeveloper* from ECLIPSE_HOME/features to ECLIPSE_HOME/features.DISABLED
Moved *mylyn* from ECLIPSE_HOME/plugins to ECLIPSE_HOME/plugins.DISABLED
Moved *wildwebdeveloper* from ECLIPSE_HOME/plugins to ECLIPSE_HOME/plugins.DISABLED
After starting Eclipse there were about a dozen "not found" errors in Eclipse's Error Log view. If you double-click on each of them you can see which dependency plugin JAR(s) haven't been found.
Set the Error Log view's filter to just display errors and warnings.
Moved the dependency plugin *.jars mentioned in the errors from ECLIPSE_HOME/plugins.DISABLED back to ECLIPSE_HOME/plugins one by one (with Eclipse restart after each) until no "not found" error appeared in the view any longer. It were nine *mylyn*.jars in the end.:
*.mylyn.commons.core_*
*.mylyn.commons.net_*
*.mylyn.commons.notifications.core_*
*.mylyn.commons.notifications.ui_*
*.mylyn.commons.screenshots.ui_*
*.mylyn.commons.ui_*
*.mylyn.commons.workbench_*
*.mylyn.commons.wikitext.markdown_*
*.mylyn.commons.wikitext.*
Note that this applies to a rather fresh Eclipse 2021-03 (4.19.0) installation. It might be different from one – even patch – version to the other.
Furthermore:
Keep Eclipse's Error Log view open for a while. The underlying OSGi activates bundles (plugins) on the fly if they are referenced from an other bundle (plugin) for the first time. And if one isn't there then...
Check the Error Log view especially after installing new features/plugins. They might rely on plugins/JARs you moved to .DISABLED. If that's the case move the according JAR(s) back to ECLIPSE_HOME/plugins and/or ECLIPSE_HOME/features.
If something doesn't work as it did in the past once in the future remember what you did and ... → Error Log view.
I'm running (a relatively fresh copy of) 3.4.1. I was able to select the same plug-in shown in your screen shot (Mylyn Bridge: Java Development) to get an enabled "Uninstall..." button. I'd suggest getting the latest updates and trying again.
It sure looks like there's no way to do this.
I just had exactly this problem with a fresh download of the Eclipse Java IDE (Ganymede SR2). I didn't want Mylyn, but I didn't want "Eclipse Classic", either, because the download was twice the size, I presume because it includes source.
The apparent solution was to update everything and restart Eclipse, after which the "Uninstall..." button became enabled for the Mylyn plugins. Unfortunately, this only uninstalled the most recent, updated version (3.0.11 IIRC), reverting to the un-uninstallable 3.0.5.
I just don't know what the hell these Eclipse developers are thinking! Removing plug-ins from Eclipse became a pain in the ass since Helios!
I hear you pal... I just went through the whole day trying to figure out as no one seems to give an straight answer like "do this, that, done."
Man I'd rather be programming instead....
Found, in the middle of my evening that it is possible to uninstall pretty much everything. The issue is that the damn thing is hidden in the "HELP->ABOUT". Who would guess after going over and over through the "Help->Install New Software" or "Help->Check for updates" and never finding anything like "remove" or "reinstall" or "force reinstall".
Seriouly, I'd rather go back to 1990 when we had Microsoft, Borland and Watcom.. you picked your platform and you'd be with 1/3 of the world of developers with you.. ok, perhaps Watcom didn't hit that mark but you get the point.
So... to uninstall any plugin from Eclipse Helios (Service Release 1) or Springsource 3.5.2 (or 3.6.1 I 'm using), do this:
close all your projects (just to be on the safe side);
Hit menu "HELP-->ABOUT" (yeah.. help, about);
Hit "Installation Details" button and you get the list with all plugins;
Click on the one you want to remove; hit uninstall;
If want to remove more than one, just apply the change without restart;
Goto to 4) as needed
Finally, restart Eclipse and reinstall what you need !
It was hard to find, but it worked very well for me.

Categories

Resources