Allow the user to specify a java version

this should allow a user to specify a java version for their ami launch

examples:
--javaversion 1.6 
--javaversion 1.7

I did attempt to build my own ami to test it. Unfortunately I could not figure out how to do it. The code does work when run own its own, but I am unsure if it works with amazon's ami launcher.