Fixed issues with Bukkit support and allow specifying Oracle Java.