Basic Java integration working