Difference between revisions of "Eclipse"
Line 71: | Line 71: | ||
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni | -Djava.library.path=/usr/lib/x86_64-linux-gnu/jni | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | !! Ubuntu 13.10 as only the JavaHL 1.7 library. So you should not install Subclise 1.8.x but '''Subclipse 1.7.x''' !! |
Revision as of 13:58, 18 November 2013
Installation
Download eclipse from the official website: http://eclipse.org/downloads/
Take the Eclipse IDE for Java EE developers version.
Linux
- Download the eclipse.deb package
- Install the package using:
sudo dpkg -i eclipse.deb
If you encounter some errors during installation, just do:
sudo apt-get install -f && sudo dpkg -i eclipse.deb
- Launch application by running ./eclipse/eclipse
- Create a launcher
sudo vim /usr/share/applications/eclipse.desktop
Put the following content where /home/guillaume/DEV/eclipse is the path to Eclipse.
[Desktop Entry]
Version=4.3.0
Name=Eclipse
Comment=IDE for all seasons
Exec=env UBUNTU_MENUPROXY=0 /home/guillaume/DEV/eclipse/eclipse
Icon=/home/guillaume/DEV/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=Utility;Application
!!! Ubuntu 13.10 bug !!!
If the menu doesn't appear correctly you must create the previous launcher.
Don't forget the Exec=... line!
Linux Subclipse
Source: Subclipse JavaHL wiki
Linux requires the JavaHL client:
sudo apt-get install libsvn-java
Find the library file:
sudo find / -name libsvnjavahl-1.so
You should have something like:
guillaume@VC076:~/DEV/eclipse$ sudo find / -name libsvnjavahl-1.so
/usr/lib/x86_64-linux-gnu/jni/libsvnjavahl-1.so
Now, update your eclipse.ini configuration
vim eclipse.ini
Add the path without '/' at the end.
-vmargs
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni
!! Ubuntu 13.10 as only the JavaHL 1.7 library. So you should not install Subclise 1.8.x but Subclipse 1.7.x !!