May be this can be achieved using a .bat file in windows or .sh in unix flavours
Like: startProgram.bat
@echo off
cls
java myJavaFile
Now run the batch file.
Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified