2015-12-02 63 views
3

我已经安装了Eclipse火星并通过安装Subclipse中添加SVN的支持。我遵循CollabNet instructions来启用JavaHL支持。当我启动Eclipse(通过命令行或从发射器)和去窗口 - >首选项 - - >团队> SVN,它与下面的消息崩溃:Eclipse的火星崩溃时JavaHL库进入SVN设置在Ubuntu 14.04添加

# 
# A fatal error has been detected by the Java Runtime Environment: 
# 
# SIGSEGV (0xb) at pc=0x00007f47a102b784, pid=5510, tid=139948294772480 
# 
# JRE version: Java(TM) SE Runtime Environment (7.0_80-b15) (build 1.7.0_80-b15) 
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.80-b11 mixed mode linux-amd64 compressed oops) 
# Problematic frame: 
# C [libapr-1.so.0+0x25784] apr_threadkey_private_get+0x4 

我使用Java 1.7,但也尝试了1.8。

我的eclipse.ini看起来是这样的:

-startup 
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar 
--launcher.library 
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417 
-product 
org.eclipse.epp.package.php.product 
--launcher.defaultAction 
openFile 
-showsplash 
org.eclipse.platform 
--launcher.XXMaxPermSize 
256m 
--launcher.defaultAction 
openFile 
--launcher.appendVmargs 
-vmargs 
-Dosgi.requiredJavaVersion=1.7 
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni/ 
-Duser.name=mmaluga 
-Xms512m 
-Xmx1024m 
-javaagent:/opt/eclipse-mars/plugins/com.zeroturnaround.eclipse.optimizer.plugin_1.0.9/agent/eclipse-optimizer-agent.jar 
-Xverify:none 
-server 
-XX:+UseParallelGC 

你可以看看error report。我现在用的SVNKit的,但它缺乏由Sublipse需要的一些功能(即合并不工作)

有什么办法来解决这个问题呢?

回答

4

我已经找到了答案。在准备上述问题的同时,我注意到了Subclipse网站上的以下信息:

Subclipse 1.12.x更新站点已创建,支持Subversion 1.9.x.正如下面的讨论后,现在该网站的解释仍然包含Subclipse的1.10.x但Subversion版本1.9.x的支持加入。 到JavaHL库是如何装载由于我们无法维持良好的1.8.x的和1.9.x的使用单个更新站点支持。

我检查了我安装了哪个版本的SVN以及哪个版本的Subclipse。我有1.9和SVN 1.8和Subclipse。我删除了Subclipse并安装了版本1.10.x.这解决了问题。