Java.java updated to create Java frontend from factory