updated amberdb to jdk8.