trying to get the java to work on the home page