Posts Tagged Eclipse
Installing Subclipse on Debian (and spinoffs)
Posted by Luis Gallardo in Linux, Programming on 27/02/2011
If you are interested in installing Subclipse as a SVN client for Eclipse, you can use the following steps, which are OS independent, so they are valid for Windows, Mac and Linux, except the procedure for installing and setting JavaHL library on Debian (and spin-off like Ubuntu).
Installing Subclipse:
In general terms, these are the steps for installing Subclipse in Eclipse:
- Open Eclipse, got to Help > Install New Software.
- Add the Subclipse’s URL to the specific Eclipse version you have. For instance, in Galileo you must add this one http://subclipse.tigris.org/update_1.6.x
- Choose all shown items: Core SVNkit Library, Optional JNA Library (recommended) and Subclipse.
- Accept the user agreement to star the installation process. At the end a message will pop up to warn you about the fact you are installing third-party software. Just say yes.
- When finished you will be asked to restart Eclipse.
JavaHL library on Debian
If you don’t want to use SVNKit library but JavaHL, then you must install this package:
aptitude install libsvn-java
You have two alternatives to notify Eclipse about the existence of that library:
- The right thing is to make Eclipse read the configuration file with the path to the JavaHL library. To be honest I couldn’t find the user’s eclipse.ini file, just the general /etc/eclipse.ini. There you can add the lines shown in bold:
- The other solution is to make a symbolic link to the library, somethink like:
- Reestar Eclipse and check changes by going to Preferences > Team > SVN, where you will be able to see the library version.
-startup plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar --launcher.library plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520 -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m -vmargs -Djava.library.path=/usr/lib/jni -Xms128m -Xmx512m
ln -s /usr/lib/jni/libsvnjavahl-1.so /usr/lib/
SVNKit library
With the installation process explained at the beginning you have downloaded SVNKit, which be used as a substitution of JavaHL, without needing to configure any file at all and with the advantage of be an multi-platform solutions, I mean, it will work on Windows and Mac as well. To do so just go to Window > Preferences > Team > SVN and choose at the SVN section the SVNKit option:
With all these now you will be able to use this SVN client in Eclipse!!
C/C++ Develoment tools for Eclipse on Debian
Posted by Luis Gallardo in Linux, Programming on 15/12/2010
If you like Eclipse and want to write programs in C or C++ in Linux you can download the C/C++ development tools, or if you are like me that install everything (or almost everything) from Debian’ s repositories you can do the following:
- Add the Sid repos to the /etc/apt/sources.list file, for instance:
- Update the package list and install the C/C++ component:
- Once you have finished to install the component, and avoid installing enything else from Sid (remember it’s the unstable branch of Debian), undo the change to the /etc/apt/sources.list file:
- Update the package list one more time:
deb ftp.us.debian.org/debian sid main contrib non-free
aptitude update aptitude install eclipse-cdt
#deb ftp.us.debian.org/debian sid main contrib non-free
aptitude update
Now you can write C/C++ programs from Eclipse on Debian as you can appreciate on the above picture.







Planeta Linux
Follow me