Taking java installation from dockerfile/java