Which version of Subclipse to install - eclipse

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.

Related

SVNKit error when installing ADT 23.0.3 in 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.

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.

javahl subclipse 64 bit installation on windows

Got
Windows 7 - 64 bit
Eclipse indigo
Java VM 64 bit
javahl from http://www.sliksvn.com (64 bit version) properly installed
path environment variable points also to the folder containing javahl librarires
When installing subclipse, I'm getting
Incompatible JavaHL library loaded. 1.6.x or later required.
What should I do to get subclipse properly working ?
The message should have said 1.6.x required. You probably installed SlikSVN 1.7.x. Just install Subclipse 1.8 which is designed for SVN 1.7. It also includes the JavaHL 64-bit binaries now.
I think the preferred solution is to upgrade to subclipse 1.8 if possible. If you can't do that (e.g., because other dependencies like m2e-eclipse are still using subclipse 1.6), then you just need to install an earlier (1.6) version of SlikSVN x64.
For instance, you can get:
http://www.sliksvn.com/pub/Slik-Subversion-1.6.17-x64.msi.
which did the job for me when SlikSVN 1.7.1 (current as of this writing) failed with the exact error provided in the original question.
Just strip the MSI off the URL to see a list of previous releases:
http://www.sliksvn.com/pub/
You might try to run Eclipse with "run as administrator" during the install. I have noticed that otherwise part of the install goes to wrong folders.

JAVAHL (JNI) Not available

Windows 7 64 Bits, Eclipse Indigo, SlickSVN 1.6.17 all installed with path to the libraries entered in windows.
Why do I get the message JAVAHL (JNI) Not available and why does eclipse not load these libraries?
Have you tried installing SilkSVN as suggested on the subclipse official FAQ?
Then on Eclipse/MyEclipse go to Window>Preferences>Team>SVN Change the client to SVNKit v1.XXX.
That did the trick for me.
Did you close down Eclipse before running the SlikSVN 64 bit installation?
I had the same issue initially.
Close Eclipse, rerun the SlikSVN install, choose Repair Installation.
Once complete, open Eclipse, and then you should have the "JavaHL Slik SVN" option under Window/Preferences/team/SVN
I had the same issue. It turns out that the FAQ is helpful indeed, because:
As of the Subclipse 1.8.x releases, native 64-bit Windows binaries are
included with Subclipse so it includes everything you need. For
earlier releases of Subclipse follow these instructions:
If you are using a 32-bit JVM, then Subclipse should just work. If you
use a 64-bit JVM then you need to provide a 64-bit version of JavaHL.
One such distribution is SlikSVN which you can get here:
http://www.sliksvn.com/en/download
With that package installed, Subclipse should find JavaHL on PATH and
just work.
The key here is the PATH variable. In my case I had another svn client installed that came before in the path. When I changed to C:\Program Files\SlikSvn\bin\ be the first folder in the variable, all worked.
Now I can find "JavaHl Slik SVN" under SVN Interface. The solution was to uninstall Subclipse and to reinstall it. When reinstalling Subclipse, I removed the check on "javahl client adapter (required)" (or similar).
1) Uninstall existing subclipse plugin:
Uninstall subclipse
2) Download these three files:
subclipse-4.3.0.zip
subclipse-javahl-1.12.0.zip
subclipse.javahl.update-1.12.0-SNAPSHOT.zip
3) Install them manually one by one by following theses instructions:
http://www.microfocus.co.jp/manuals/ED23/html/GUID-70E8158C-8618-4228-9495-6AFF4CB7E8DB.html
Ω) If not suitable in your case:
Install this: Subversive-4.0.2.I20160902-1700.zip (works with eclipse 2019-06)

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.