removed everything but JavaMain