Netbeans Manual Install on Ubuntu

First make sure you have Java Installed on your system.

sudo apt-get install  openjdk-6-jdk

Download Netbeans from .Open terminal and cd to the download location

cd ~/Downloads
Start the installer and follow the on screen instruction. On terminal type:

Failed to load JavaHL Library.

If you get following error in eclipse:

Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = /usr/lib/jni/

Close eclipse and run following command on terminal.

sudo apt-get install libsvn-java

Edit eclipse.ini file.

sudo nano /usr/lib/eclipse/eclipse.ini

Add following two lines after -vmargs


save and close

If you are still getting the same error, this is because Ubuntu 11.10 in lagging in JavaHL version. If you install from Ubuntu 11.10 repository , it installs 1.6.x, although the newer version is 1.7.x . Simple solution would be to uninstall subversion 1.8.x from eclipse and install version 1.6.x.



Packages Names


Package Names

 SSH server openssh-server
 SSH client openssh-client
 Open JDK 6  openjdk-6-jdk

Remove Annoying Scroll bar in Ubuntu 11.10, 11.04 and Mint 11

I was really annoyed the wired scroll bar in Ubuntu and Mint, specially, when using eclipse. Found this quick fix. What it does it tell X11 to not to use overlayscroollbars.

Edit following file: /etc/X11/Xsession.d/80overlayscrollbars

 sudo nano /etc/X11/Xsession.d/80overlayscrollbars

Copy following line. Save and Exit.


Log off and Login back. You should see traditional scroll bar.


Install and Customize Eclipse on ubuntu

Install eclipse on Ubuntu. Open terminal and type:

sudo apt-get install eclipse

Two useful directories are:


Default plugin directory is:


Copy all the required plugins in this directory. If for some reason, plugins are not loaded, you might need to change permistion of the dropins directory. Try:

sudo chown -R user_name /usr/share/eclipse/dropins


Customize Unity 2D with compiz in Ubuntu 11.10

Unity 2D is is one of the best desktop of Ubuntu. It is fast, efficient and reliable. Although, we want things our own way. Best way to customize unity 2d is using compiz. By Default compiz is used for Unity, but not for unity 2D. Here we will configure compiz to work for Unity 2D.

Install compiz with your preferred method. Install Compizconfig from the software center or Open terminal and type

sudo apt-get install compizconfig-settings-manager

Now configure Ubuntu to use compiz for Unity 2D. Edit  ubuntu-2d.session located at /usr/share/gnome-session/sessions . In the terminal type:

sudo nano /usr/share/gnome-session/sessions/ubuntu-2d.session

Change all the DefaultProvider-* to compiz. Save and exit. After editing, it should look something like this:

[GNOME Session]
Name=Ubuntu 2D


Logoff and login back. Start compiz from the menu.

Select Desktop from left menu and then select Unity

You should be able to play around with the settings.

Good luck!