Here is shortcut use all method to get the required
result as per conditions.
i) to run java application command is
java <file name> //without class extension
ii) jview /a <file name> //without class extension
iii) use any IDE to run on pressing the button
use textpad from download.com
all will work
send message for confirmation on my email address