Converting to a Java project