save java homework