Trying to get java to work