I know there are tons of Eclipse/Subclipse questions out there regarding issues with javahl. I've been using Eclipse/Subclipse together for a long time without the javahl issues.
I'm now running into the same issue though.
I just recently upgraded to Java 7:
$ java -version
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
I also upgraded to Eclipse Luna 4.4.0 and installed Subclipse. But after creating a remote repository and trying to browse it in the SVN Repository Exploring perspective I see this in the Eclipse .log error log file:
java.lang.NoClassDefFoundError: Could not initialize class org.apache.subversion.javahl.SVNClient
at org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapter.<init>(JhlClientAdapter.java:57)
at org.tigris.subversion.clientadapter.javahl.Activator.getAdapter(Activator.java:64)
at org.tigris.subversion.clientadapter.Activator.getClientAdapter(Activator.java:70)
at org.tigris.subversion.subclipse.core.SVNClientManager.getAdapter(SVNClientManager.java:127)
at org.tigris.subversion.subclipse.core.SVNClientManager.getSVNClient(SVNClientManager.java:94)
at org.tigris.subversion.subclipse.core.SVNProviderPlugin.getSVNClient(SVNProviderPlugin.java:462)
at org.tigris.subversion.subclipse.core.repo.SVNRepositoryLocation.getSVNClient(SVNRepositoryLocation.java:257)
at org.tigris.subversion.subclipse.core.resources.RemoteFolder.getMembers(RemoteFolder.java:164)
at org.tigris.subversion.subclipse.core.resources.RemoteFolder.members(RemoteFolder.java:260)
at org.tigris.subversion.subclipse.ui.operations.FetchMembersOperation.execute(FetchMembersOperation.java:41)
at org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:90)
at org.tigris.subversion.subclipse.ui.repository.model.SVNRepositoryRootElement.fetchDeferredChildren(SVNRepositoryRootElement.java:73)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
See pic below to see the components I installed with Subclipse:
Regarding the SVNKit Client Adapter (Not required), I have installed Subclipse both with and without this component selected and in both cases I see the same javahl.SVNClient error.
How do I solve this?
As an aside, I figured maybe I'd give Subversive a go. Subversive is not available in the Eclipse 4.4 udpates software site (http://download.eclipse.org/eclipse/updates/4.4) so I tried the Eclipse Marketplace Client. Installing via Marketplace I get the following error:
The following solutions are not available: Subversive: SVN Team Provider 2.0
Does anyone have Eclipse and Subclipse or Subversive working? What steps do I need to take to get this working?
UPDATE attached is a screenshot of the empty SVN interface client dropdown.
Thanks!
I think that a solution can be found at Polarion website (developers of SVN connectors used by Subversive plugins) http://www.polarion.com/products/svn/subversive/download.php?utm_source=eclipse.org&utm_medium=link&utm_campaign=subversive.
It says
The Subversive Update Site is a part of Luna Update Site.
To install: On main menu, choose Help > Install New Software. The available Software dialog appears. In the Work with list, select Luna - http://download.eclipse.org/releases/luna/. A list of software packages appears.
Expand the Collaboration node, scroll the list and select Subversive features
Check other options in the dialog as desired and click the Next button. The Install Details screen appears in the dialog.
Click the Next button, accept the license and click Finish. Subversive will download and install.
It is recommended to accept the option to restart Eclipse.
http://community.polarion.com/projects/subversive/download/eclipse/4.0/luna-site/ – [required] Subversive SVN Connectors
http://community.polarion.com/projects/subversive/download/integrations/luna-site/ – [optional] Subversive Integrations
I suppose You don't have some library needed by jaha-hl. It depends on Your OS. Why don't You try SVN Kit instead of JavaHL? You can change provider in window -> preferences -> team -> subversion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With