Java prototype for oegen project