updated dockerfile for java

Signed-off-by: Izhar ul Hassan <ezhaar@gmail.com>