Trying to get Java to work