GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » [SOLVED] subclipse in eclipse (ubuntu 12.04 64 bit)
[SOLVED] subclipse in eclipse (ubuntu 12.04 64 bit) [message #14056] Thu, 04 October 2012 16:04 Go to previous message
MartinJGaluska is currently offline  MartinJGaluska
Messages: 203
Registered: March 2010
Location: Germany
first-grade participant
From: *physik.uni-giessen.de
Hello everybody,

this problem is not directly related to PandaRoot. It is about an installation problem for subclipse (svn plugin for eclipse). Maybe someone already had the same problem and solved it (and could help me as well), if not it would not be too tragic...

I am using ubuntu 12.04 64 bit and wanted to add svn support to eclipse according to http://www-128.ibm.com/developerworks/opensource/library/os-ecl-subversi on/ which was recommended on http://panda-wiki.gsi.de/cgi-bin/view/Computing/PandaRootEclipse. I have followed along all steps (and adapted them to my newer version eclipse 3.7.2) and have installed the correct version of subclipse 1.8 (with help of http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA).

Unfortunately, I have found a problem with JavaHL. I followed the instructions on http://subclipse.tigris.org/wiki/JavaHL#head-3a1d2d3c54791d2d751794e5d66 45f1d77d95b32 . However, when I do the final step of adding

-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni 


to

/etc/eclipse.ini 


eclipse crashes immediately when it starts with the following message:
Toggle Spoiler


I am sure that /usr/lib/x86_64-linux-gnu/jni is the correct path. I installed JavaHL with the command
sudo apt-get install libsvn-java

according to http://subclipse.tigris.org/wiki/JavaHL#head-3a1d2d3c54791d2d751794e5d66 45f1d77d95b32.

If I leave out this line
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni

in eclipse.ini, eclipse starts, but when I try to use subclipse, it complains:
Quote:

Incompatible JavaHL library loaded. 1.7.x or later required.


I assume that is because eclipse tries to load the JavaHL from /usr/lib/jni (which is not the one it should use).

Could someone help?

[Updated on: Tue, 06 November 2012 13:21]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: Simulation For a particular branch
Next Topic: simulation of specific event number
Goto Forum:
  


Current Time: Wed Nov 27 05:45:01 CET 2024

Total time taken to generate the page: 0.00853 seconds