fixed java integrations