Modify whole java element to support JAVA_TARGET_LOCATION

This patch modifies the common "java" element in order to allow
users to specify the directory that will contain the JDK install
and this support is for all install types now.

Change-Id: I5ba04ba5e22c7f5f5a6455669bbe8509c042a893
Merge "Modify whole java element to support JAVA_TARGET_LOCATION"