[DF-1206] add java implementation and windows method