Installing Java using batch file

Hi friends , I want to install java using windows batch file,means suppose I have java.exe file and I want it to convert in batch file.I am totally new to this topic and I am really not getting what to do..? I am not aware of batch programming too.If someone can help will be appreciated. Any suggetions,links,data most welcome. Thanks..!!