Judge orders Oracle to give Google $1 million for court costs