Revert "Fix java version and delete gui"

This reverts commit 499647f310623baf2c7b9e40240b52df712b712f.