Girish Kumar Prabhakar wrote:By 'didn't work' , I meant that I was not able to run the command successfully.
Which is simply the same statement using different words, and equally useless.
If you want help, you need to TellTheDetails (←click), and that means supplying actual messages and context; otherwise we're simply floundering around even worse than you are.
I would also add that, whether it works or not, running a database server start-up from Java is probably not the best choice. If the database provides a Java-based API to do it, I'd use that; if not, it's probably a task best left to your admins (and I certainly wouldn't use Java).
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
You showed up just in time for the waffles! And this tiny ad: