GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: [SOLVED] subclipse in eclipse (ubuntu 12.04 64 bit)
items: [SOLVED] Re: subclipse in eclipse (ubuntu 12.04 64 bit)

[SOLVED] subclipse in eclipse (ubuntu 12.04 64 bit)
type: item
description: 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 !SESSION 2012-10-04 15:33:26.614 ----------------------------------------------- eclipse.buildId=I20110613-1736 java.version=1.6.0_24 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY org.eclipse.osgi 4 0 2012-10-04 15:33:27.492 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: no swt-gtk-3740 in java.library.path no swt-gtk in java.library.path Can't load library: /home/mgaluska/.swt/lib/linux/x86_64/libswt-gtk-3740.so Can't load library: /home/mgaluska/.swt/lib/linux/x86_64/libswt-gtk.so at org.eclipse.swt.internal.Library.loadLibrary(Library.java:285) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194) at org.eclipse.swt.internal.C.<clinit>(C.java:21) at org.eclipse.swt.internal.Converter.wcsToMbc…
creator: MartinJGaluska
date: 2012-10-04T14:04:59-00:00

[SOLVED] Re: subclipse in eclipse (ubuntu 12.04 64 bit)
type: item
description: I have just found the answer on the website http://stackoverflow.com/questions/10165693/eclipse-cannot-load-swt-libr aries and would like to post it here in case other people experience the same problem: After adding -Djava.library.path=/usr/lib/x86_64-linux-gnu/jni to /etc/eclipse.ini you have to do the following: Quote: On Ubuntu 12.04 32 bit enter the command: ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86/ And on Ubuntu 12.04 64 bit type: ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64/ This fixes the loading issue. However, Ubuntu 12.04 install JavaHL 1.6.x by default, but subclipse requires >=1.7.x Therefore, I followed the instructions on https://plus.google.com/u/0/110836571215849032642/posts/5gecVzxXUpz and entered: sudo apt-add-repository ppa:dominik-stadler/subversion-1.7 sudo apt-get update sudo apt-get upgrade sudo apt-get install subversion subclipse finally seems to work now.
creator: MartinJGaluska
date: 2012-11-06T12:12:00-00:00