Search code examples
javaeclipseosx-mountain-lioneclipse-juno

Eclipse freezes on loading workbench after installing SVN


I have just downloaded the eclipse installer for Java developer on eclipse.org

I had no problem to run it, but after installing the SVn on it, I can't open eclipse anymore.

It hangs on loading workbench everytime (and eclipse is not responding). I have to kill the process.

I tried several things such as deleting some files in the .metadata folder, but nothing changed

What can I do to use it with the SVN client?

(Eclipse Juno, Mac OS X Moutain Lion)

Thank you


Solution

  • You need to install JavaHL on your Computer. I think that's the problem. Here is some info from the website

    OSX comes with a SVN command line client, but unfortunately they do not include the JavaHL library.

    The best thing to do is to install one of the OSX package managers for open-source software, such as MacPorts or HomeBrew. If you are doing software development on OSX, you are going to eventually want or need different open-source Unix applications. So it is worth the effort to set one of these up and they make it easy for you to get Subversion and always have the latest version. You will also have easy access to other open source applications via similar simple commands.

    For MacPorts, the commands to run are:

    sudo port install subversion-javahlbindings +no_bdb +universal For HomeBrew the command is:

    brew install --universal --java subversion Pay attention to any post-install instructions related to creating a symlink in /Library/Java/Extensions. You need to follow these instructions so that the JavaHL library is available by default to the JVM.