Added Java version thanks to Russjr08 :D