Installing Subclipse Plugin in Eclispe (unable to load JavaHL)
来源:互联网 发布:光纤测试仪福禄克网络 编辑:程序博客网 时间:2024/05/17 06:09
Snow Leopard (Mac osx 10.6.x) come with svn by default. After installing Subclipse plugin, Eclipse failed to locate the javaHL library, which is required by Subclipse to call local Subversion APIs (implemented in C).
My first solution (failed)
1. install subversion-javahlbindings using Mac Ports (command: sudo port install subversion-javahlbindings)
2. then we can find the svn-javahl.jar under /opt/local/lib/svn-javahl/. I add the path to PATH and also set the virtual machine argument in eclipse.ini (eclipseBase/Contents/MacOS/eclipse.ini) by adding a line after "-vmargs"
Djava.library.path=/opt/local/lib/
But this solution does not work, eclipse still reports that it failed to locate javaHL. Searching on Google suggests that 64bit JVM will not be able to load 32bit javaHL. So give up this solution.
My second solution (bingo! problem solved easily)
1. I tried to uninstall the preloaded subversion, but failed to locate where the svn is installed. Then I simply remove the svn* commands under /usr/bin/
2. Download subversion (including javaHL, and both 32 bit and 64 bit binary) from CollabNet as suggested by
http://subclipse.tigris.org/wiki/JavaHL
Download webpage: http://www.open.collab.net/downloads/subversion/
3. Subversion will be installed under /opt/subversion. Add "/opt/subversion/bin" to PATH so that svn can be used in command line
4. restart eclipse and we can find Subclipse can load javaHL library now. hurrah~~~
An alternative solution (tested on Mountain Lion)
1. install svn from Apple Developers
http://blog.grapii.com/2012/08/svn-missing-in-mac-os-x-10-8-mountain-lion/
2. If you do not need to use JavaHL, Subclipse also provides a pure-Java SVN API library -- SVNKit (http://svnkit.com). Just install the SVNKit client adapter and library plugins from the Subclipse update site and then choose it in the preferences under Team > SVN.
- Installing Subclipse Plugin in Eclispe (unable to load JavaHL)
- Eclipse安装subclipse出现”Failed to load JavaHL Library.”错误
- Subclipse and Unable to load default SVN client
- How to fix Failed to load JavaHL Library in Eclipse
- eclispe装svn插件后启动报错Failed to load JavaHL Library
- Linux下eclipse安装subclipse后报“Failed to load JavaHL Library”错误
- 安装了Subclipse的Eclipse出现Failed to load JavaHL Library.
- ubuntu 10.10下安装 Eclipse 的SubClipse插件出现Failed to load JavaHL Library错误解决方案
- Ubuntu升级到12.04后Subclipse报Failed to load JavaHL Library错误的解决方法
- Ubuntu升级到12.04后Subclipse报Failed to load JavaHL Library错误的解决方法
- "Failed to load JavaHL Library" eclipse中安装svn插件 subclipse 出错 linux mint/ubuntu下
- Ubuntu升级12.04后eclipse Subclipse报Failed to load JavaHL
- 关于eclipse安装subclipse(svn)插件后出现Failed to load JavaHL Library的解决方法
- MyEclipse maven install 时Unable to load the mojo 'war' in the plugin解决方法
- Failed to load JavaHL Library
- Failed to load JavaHL Library.
- Failed to load JavaHL Library
- Failed to load JavaHL Library.
- dataGridView1属性之RowHeadersWidthSizeMode导致加载数据缓慢
- 程序员都应该了解哪些安全知识
- 关于activiti的流程回退功能讨论
- 创建一个自增的数据库表的方法,并且设置为主键的方法
- Linux环境进程间通信(二):有名管道(FIFO)
- Installing Subclipse Plugin in Eclispe (unable to load JavaHL)
- 哈希表工作原理
- U-Boot启动过程完全分析
- RGB与YCbCr相互转换
- android 横竖屏切换与数据保存
- C#后台执行JS函数
- Android面试之----Android系统架构图及简单的系统架构介绍
- vc中socket编程步骤及实例
- Linux命令行技巧