Semarang is a city on the north coast of Java, in the province of Central Java.