Fix java version and delete gui