remove java implementation