title: Oracle JDK 7 not installed and E: Sub-process /usr/bin/dpkg returned an error code (1)
body: <p><a href="https://i.stack.imgur.com/SlVNX.png" rel="nofollow noreferrer">Oracle JDK7 not installed</a></p>
  
  <p>Iam have created a new container in server and trying to install JDK7 in that container. It failed installing oracle JDK 7. Even i tried changing the version like JDK 8 and 9 but still it respond that JDK 7 not installed.
  Please help me how to install Oracle JDK in server.</p>