I searched in the FAQs under “ Running External Tools” and found useful information which has helped me to compile and run the Java programs right from the “Notepad++” application itself.
But then it just flashed to me that “ Why can’t i try Notepad++ for compiling and interpreting the Java programs“. I had been using Notepad– The one that comes with Windows for a long time for writing Java programs and then running it through command line, though i had Notepad++ installed on my system.