allow java configuration