The database library file is kept in jBPM5.2\db\driver folder. The version of this file was different from the version of H2 database that I was running.
So, in order to reflect the proper db driver, I changed the file in jBPM5.2\db\driver, ran install.demo again and then started the server.
Hope this helps.
Regards,
Aparna