clean up some issues with the specs
set jdk8 to slim version