Add java extensions