enable functional compiler to invoke Java