u can make .jar file & call .jar file in a bat file this is one way.it's working like a exe file.try it