SVNKit error when installing ADT 23.0.3 in Eclipse? - eclipse

Today my Eclipse 4.4 tells me I can update to ADT 23.0.3.1327240. Yay! (I don't see anything related to SVNKit.) So I hit "Finish". I get:
'Updating Software' has encountered a problem.
Cannot complete the install because one or more required items could not be found.
Cannot complete the install because one or more required items could not be found.
Software currently installed: SVNKit Client Adapter (Not required) 1.8.9 (org.tigris.subversion.clientadapter.svnkit.feature.feature.group 1.8.9)
Missing requirement: SVNKit pure Java Subversion Library 1.8.6.r10298_v20140730_2254 (org.tmatesoft.svnkit 1.8.6.r10298_v20140730_2254) requires 'bundle com.trilead.ssh2 [1.0.0,2.0.0)' but it could not be found
Cannot satisfy dependency:
From: SVNKit Client Adapter (Not required) 1.8.9 (org.tigris.subversion.clientadapter.svnkit.feature.feature.group 1.8.9)
To: org.tmatesoft.svnkit [1.8.0,1.9.0)
(sigh) Sometimes I hate Eclipse. And ADT. Especially ADT.
What can I do?

This software is Not required. So exclude it from installation(remove selection in left box). I have done so and succeeded with Subclipse.

I made this go away:
I went into my Eclipse installation details and uninstalled SVNKit.
I updated Eclipse (4.4.1RC1) and all available plugins (e.g. ADT 23.0.3). This time it was successful.
I installed new software directly from the Subclipse site. It showed that both SVNKit and SVNKit Client Adapter were available, so I installed them. This worked fine, except that Eclipse crashed when restarting. Manually restarting after that worked.
I updated software and a new version of SVNKit 1.8.6 suddenly was available. I installed it.
Now my Eclipse installation seems to be working and up-to-date. I suppose it was something corrupted with the SVNKit installation, which comes with Subclipse.
My Subclipse installation is set to use JavaHL instead of SVNKit. I'm going to leave it alone for the meantime.

Related

Incompatible JavaHL library loaded. Subversion 1.8.x required not going away

I am using ubuntu 16.04 and i have the following subclipse/JavaHL installation on eclipse Mars.
And this seems on line with this http://subclipse.tigris.org/wiki/JavaHL
i have 1.10.xx subclipse version for a 1.8.xx javaHl version. Yet on every Eclipse Mars startup i keep getting the error message and when i see the eclipse team->svn>svn Interface tab i see this
So right now i am using SVNKit instead. Any idea on what is causing this. And for your information, i have an eclipse neon that's running fine using
Ok so after trying a lot of things that did not work, i finally managed to solve it by updating the javaHL native Library Adapter to 1.9. I did not know where to get it from so i tried the eclipse marketplace .
Help --> Eclipse Marketplace --> Installed tab --> Subclipse --> Update (click on the ltlle arrow in the button if install is showed to select it) then make sure the javaHl adapter is checked and update.

Which version of Subclipse to install

I'm having problems installing the right version of Subclipse to use with Mac OS X 10.9.1 (which comes with subversion 1.7.10) and Eclipse 4.3.1.
http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA says it's necessary to use Subclipse 1.8.x with Subversion 1.7, and to use the Eclipse Market Center to install it. Unfortunately the Market Center only lists Subclipse 1.10.3, not 1.8.x, so I installed the following components directly from the Subclipse 1.8.x Update Site (http://subclipse.tigris.org/update_1.8.x):
Subclipse 1.8.22
Subversion Client Adapter 1.8.6
Subversion JavaHL Native Library Adapter 1.7.10
Now, when I use any of the Subclipse commands from the Team menu I get an error
"Incompatible JavaHL library loaded. 1.7.x or later required."
even though Installation Details shows I have 1.7.10 installed. Is anything else required to get the JavaHL adapter to work?
Update: http://subclipse.tigris.org/wiki/JavaHL says I need to compile subversion and add a link /Library/Java/Extensions/libsvnjavahl-1.dylib. Now subclipse works but is out of step with the command line tools, so I guess I need to replace all the /usr/bin/svn* commands with the ones I've just compiled. I'm making progress, but it sure would be nice if people didn't hardcode quite so many specific version dependencies.

Proper way to install SVNKit 1.7.x in Eclipse?

Folks,
I am a bit confused on how to get SVNKit 1.7 Beta 3 to work under Eclipse Indigo.
Using the Eclipse update site mentioned at http://svnkit.com/download.php, I installed new software from http://eclipse.svnkit.com/1.7.x. I selected both the items on the list, the core SVNKit Library and optional JNA Library.
The installation seems to have succeeded. When I look at the list of installed software, I see SVN Library 1.70 Beta 3 in the list.
However, Eclipse still does not recognized that my projects are source controlled.
When I go to Preferences, all I see is SVNKit 1.3.6-v1. I do not see SVNKit 1.7.
Is there some other step that I am missing? How do I get Subversive to recognized my Subversion 1.7 based projects?
Thank you in advance for your help.
Regards,Peter
To install SVNKit as an Eclipse plugin or to make sure that you have the latest version installed, use http://eclipse.svnkit.com/1.7.x/ as an update site location in Eclipse Update Manager.
List item In Eclipse menu select Help->Software Updates
List item Then choose 'Available Software' tab
List item Click 'Add Site...' button
List item Type http://eclipse.svnkit.com/1.7.x/ in the 'Location' field and press 'OK'.
List item Check the new site (it should appear in the list of update sites) and follow further steps as prompted by Eclipse.
Use http://eclipse.svnkit.com/1.3.x/ as an update site location to get older version of SVNKit (1.3.8).
In order to install SVNKit 1.7.x for Subversive I've opened Eclipse > Help > Install new software and used the link from http://www.polarion.com/products/svn/subversive/download.php page:
http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/ – [required] Subversive SVN Connectors
After that new connector appeared under Eclipse Preferences.
Just for the records, as of March 2013, Subversive does seem to work with SVNKit 1.7.
I installed both (SVNKit 1.7.8 and then Subversive Service Release 1.0.1) on Eclipse Indigo and haven't run into any problems so far.
If you want to give it a try, just make sure to uninstall the previous version first, as the Subversive latest releases page points out:
Subversive 0.7 to 1.0 Upgrade Notes
If need to update Subversive from 0.7.x to the 1.0.0 version,
uninstall the previously installed Subversive 0.7.x plug-in version
first. Otherwise during the installation process you'll be blocked by
the old connectors version that is incompatible with the 1.0.0 release
and couldn't be installed simultaneously with the main plug-in due to
the installation UI restrictions.
Regards
Yes, it works with Subclipse, but not Subversive.

subclipse: Unable to load default SVN Client

I am constantly getting this error when working with eclispe and the subclipse plugin:
Unable to load default SVN Client
I have already installed both the SVNKit and the JavaHL provider, but it can't be found in the preferences:
I am using eclipse for win64bit
I had this problem after installing the latest eclipse and installing subclipse from the marketplace. To resolve you can follow these steps:
Click Help >> Install New Software...
Set Work with: Subclipse 1.10.x Update Site - http://subclipse.tigris.org/update_1.10.x
Ensure Hide items that are already installed is checked.
Click Select All.
Click Next.
Complete the remainder of the installation as usual.
For ubuntu 12.04 amd64
sudo apt-get install libsvn-java
add this to eclipse.ini after -vmargs:
-vmargs
-Djava.library.path=/usr/lib/jni:/usr/lib/x86_64-linux-gnu/jni
...
What JavaHL provider have you installed? It sounds like you need 64 bit JavaHL support. Have you tried SlikSVN?
I solved this with easiest way:
sudo apt-get install libsvn-java
sudo cp /usr/lib/jni/* /usr/lib
Faced the same problem after installed subclipse 1.8 from eclipse marketplace and resolved thru following steps:
1. Install subversion client (required)
2. Install Subversion JavaHL Native Library Adapter (required)
And it works now.
P/S: Eclipse Indigo
I don't know about JavaHL but to make the SVNKit appear on the list of SVN interfaces, you need to install the "SVN Client Adapter" and the "SVNKit Adapter" as well.
You can find those on the update site of Subclipse (*http://subclipse.tigris.org/update_1.8.x*).
I have a similar problem with Subclipse 1.8. Due to licenses limitations, SVN client aren't bundled with SVN any more. So I find the message "Unable to load default SVN Client".
My solutions is to install SVN client. It can't be easier. Go to Eclispe Marketplace, type Subclipse and click to install Subclipse again, select all options. When restarting Eclipse, it will prompt us to install an SVN client, choose SVNKit or JavaHL (I choose JavaHL). After restarting one more time, it all works.
In fedora 16 on x64 i meet also, i solved by downloading subversion 1.7 from here and installing:
yum install subversion-javahl-1.7.1-1.fc16.x86_64.rpm subversion-libs-1.7.1-1.fc16.x86_64.rpm subversion-1.7.1-1.fc16.x86_64.rpm
Install SVN on Eclipse Juno using the update site at http://subclipse.tigris.org/update_1.8.x
Go to Help -> Install new software, then Add update site.
Zend Studio 9 if you upgrade/update to 9.0.3 you will get this error as well. You need to uninstall all subEclipse and JavaHL stuff then follow the install procedures again and restart Zend studio.
Build 20120625 in Zend Version 9.0.3
If you are using the Subversive plugin (which is newer than the Subclipse one, and the two are easily confused with one another), you might run into problems finding the library even after configuring the library path in eclipse.ini. To fix the entire problem, you might need to add this setting to the file as well:
-Dsubversion.native.library=C:/SlikSVN_JavaHL/libsvnjavahl-1.dll
Read http://www.eclipse.org/subversive/installation-instructions.php for more help, it's a good-quality explanation of everything.
I had same problem with Spring STS 3.5.1 and Sub eclipse version 1.6. Upgraded to version 1.10 of subeclipse and everything is working fine.
The above problem arises with custom eclipse installation and due to updated version of subclipse.
You have to install the older version of subclipse manually.
For this i have done as following:
Under Help menu click "Install New Software..."
Select "http://subclipse.tigris.org/update_1.6.x" from the drop down menu
If URL of any other advanced version of are available change it to look as above.
Check the options selected are sensible e.g. "Hide items that are already installed"
Click "Select All"
Click Next/Finish through to completion.
After finishing the installation,under windows menu go to preferences,click on Team and on SVN.
Now change the client from Java HL to SVN pure kit.
That's it.
This resolved problem for me
Eclipse Java EE IDE for Web Developers.
Version: Oxygen.3a Release (4.7.3a)
Build id: 20180405-1200
I solved this problem as follows
1) Install Subversive - SVN Team Provider 4.0.5 from marketplace
2) Team -> SVN -> SVN Connectors and set SVNKit 1.8.14
3) Restart eclipse
All works well

Getting Subclipse in Aptana to work with the newest release of Subversion

The version of Subclipse (1.2.4) currently available through Aptana's automatic Plugins Manager does not work with the newest version of Subversion.
I see on the Subclipse website however that they have 1.4.2 out for Eclipse. So I added a new remote update site to my Update manager. When I tried to install it, it told me I needed Mylyn 3.0.0. So after much searching I found Mylyn 3.0.0 and added another new remote update site to my update manager. Then when I tried to install that, it told me I needed org.eclipse.ui 3.3.0 or equivalent.
Looking at the configuration details for Aptana, it looks like it is built against eclipse 3.2.2.
Does anyone know if there is a way to upgrade the version of Eclipse Aptana that is built against to 3.3.0? Or if there is some other way to get Subclipse to work with the very newest version of Subversion?
I know this isn't necessarily a "programming" question, but I hope it's ok since it's highly relevant to the programming experience.
Subclipse does not require Mylyn, but the update site includes a plugin that integrates Mylyn and Subclipse. This is intended for people that use Mylyn. In your case, you would want to just de-select Mylyn in the update dialog.
Subclipse also requires Subversion 1.5 and the corresponding version of the JavaHL native libraries. I have written the start of an FAQ to help people understand JavaHL and how to get it. See: http://desktop-eclipse.open.collab.net/wiki/JavaHL
I've had problems with JavaHL in Eclipse Ganymede, when it worked fine in Eclipse Europa. I'm not sure how Aptana is different, but try either upgrading JavaHL or switching to the pure-java SVNKit implementation within the Subclipse config.
if you're not going to be using mylyn just uncheck that dependency. I'm not really familiar with Aptana, but in eclipse you can expand whats being installed and uncheck anything you don't need.
I used the update url and I installed the JavaHL adapter, the Subclipse project itself and the SVNKit adapter BETA.
After this it worked fine for me, this is for linux platform hope it works for you.