Move java extensions into java directory