Eclipse Luna (4.4.0) and Subclipse not working

I know there are many Eclipse / Subclipse questions regarding javahl issues. I have been using Eclipse / Subclipse together for a long time without javahl problems.

Now I am facing the same question.

I 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 the remote repository and trying to view 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 fig. below to see the components that I installed using Subclipse:

Subclipse installation

As for the SVNKit client adapter (not required), I installed Subclipse with or without this, and in both cases I see the same javahl.SVNClient error.

How to solve this?

Aside, I thought maybe I'll give Subversive a go. Subversive is not available on the Eclipse 4.4 udpates software website ( http://download.eclipse.org/eclipse/updates/4.4 ), so I tried the Eclipse Marketplace Client. Installation through the 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? What steps should I take to get this to work?

UPDATE comes with a screenshot of the empty SVN client drop-down list.

enter image description here

Thanks!

+8
java eclipse svn eclipse-plugin subclipse
source share
6 answers

I think the solution can be found on the Polarion website (SVN connector developers 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 part of the Luna update site.

To install: From the main menu, choose Help> Install New Software. The Available Software dialog box appears. In the list box, select "Moon" - http://download.eclipse.org/releases/luna/ . List of software packages.

Expand the Collaboration node, scroll through the list, and select Subversion

In the dialog box, select other options and click Next. The Installation Information dialog box appears.

Click Next, accept the license and click Finish. Subversive download and install.

It is recommended that you restart Eclipse.

http://community.polarion.com/projects/subversive/download/eclipse/4.0/luna-site/ - [required] Subversion SVN connectors

http://community.polarion.com/projects/subversive/download/integrations/luna-site/ - [optional] Disruptive integrations

+8
source share

I suppose you don't have the library jaha-hl needed. It depends on your OS. Why don't you try the SVN Kit instead of JavaHL? You can change the provider in the window β†’ preferences β†’ team β†’ subversion.

+2
source share

I am running Eclipse 4.4 (Luna) on OSX Mavericks using the same version of Subclipse that you are using. In my case, the JavaHL library is installed through Homebrew.

I don’t think this is due to your problem, but the difference in my environment is that I use Java 8. In retrospect this does not make sense, but I have this memory that Eclipse 4.4 said I needed update java to run it. Maybe he said that I need at least Java 7, and I just decided to install Java 8. I don’t remember.

I prevented ATM a bit from your error due to the NoClassDef found. This is not like the usual error you see when the problem is with your libraries.

What do you see in the settings when you do the> SVN command? Is the dropdown menu empty? This would mean that the Eclipse plugins do not even load, because usually you will see an entry in the list with a message about (not installed). What you don't even see seems to be related to a bigger mistake.

Not sure what to check, but I will call around the log and screens of the Eclipse installation details to see if there is any problem with one or more plug-ins not being activated. There is no explanation why this will happen.

+1
source share

The best way to find a subversive system and its connector:

  • Go to Help-> Install New Software.
  • Select "Luna - http://download.eclipse.org/releases/luna " from the drop-down list. Now the list should be filled.
  • In the completed list, go to Collaborator-> Subversive SVN Team Provider.
  • Click Finish. This will install Subversive SVN Team Provider after restarting eclipse.

Then right-click on the empty one from Project Explorer and select import, and then another. From the new menu, select SVN-Project from SVN, this will require the installation of a connector. Select the desired connector and install it.

NTN

+1
source share

I had the same problem: "failed to load the default svn client"

empty combo in 'preferences / team / svn'

I liked doing this:

window> install new software> http://subclipse.tigris.org/update_1.10.x/

double-check all the boxes and go. After reboot it was ok

0
source share

I don’t know if this is a new link or not, but you can simply drag the installation icon from the Eclipse Marketplace Subclipse website to the Eclipse Luna workspace to install it.

0
source share

All Articles