All posts by Pramod T P

java.lang.ClassNotFoundException: com.mysql.jdbc.Driver on eclipse

You need to add jar file to build path

right click on project->build path->configure build path->libraries tab ->add external jar

browse it and add it.

after adding also if u not getting same error, then

You must include the jar file in the Deployment Assembly of the Project.

1)select the web project which contains the jsp file

2)select Project tab in the menubar in Eclipse

3)select properties in the drop down menu

4)select Deployment Assembly

5)Add your ojdbc6.jar file in it..


Rename Branch Git

1. Rename your local branch.

If you are on the branch you want to rename:

git branch -m NEWNAME

If you are on a different branch:

git branch -m OLDNAME NEWNAME

2. Delete the old-name remote branch and push the NEWNAME local branch.

git push origin :OLDNAME NEWNAME

3. Reset the upstream branch for the NEWNAME local branch.

Switch to the branch and then:

git push origin -u NEWNAME

Install berkeley db from source code

Follow the below steps to install BerkeleyDB.

Downloading Berkeley DB


Extracting files from the downloaded package:

tar zxvf db-5.2.28.tar.gz

cd db-5.2.28/build_unix

Create installation path

mkdir /etc/berkeleydb

Configuring Berkeley DB

../dist/configure --prefix=/etc/berkeleydb

Compile and install the code


make install