he studied in the academy of vienna and later in the academy of berlin