make it compatible with JDK6
enlarge memory to 512MB