Fix debian dependencies for java 1.7

Change-Id: Iffec4cc584ef4f1801fec02aa32805c219294d08