added release script to manage multiple Java versions