sentence: the dutch ruled malacca from 1641 to 1798 but they were not interested in developing it as a trading center , placing greater importance to batavia ( jakarta ) on java as their administrative center .