Fixed java apt command to update cache

The apt command that installed java was not updating the cache after
adding the new repo.

Ticket: #5507

Signed-off-by: Nathan Callister <ncallister@iwsoftware.com.au>
Merge branch 'master' of github.com:IWSoftware/java-role