Without this change, applying the manifest on jenkins server the first time around just
fails the jenkins service as the jre is missing from the PATH. [1]
Implementation wise, this moves the java install instruction into the jenkins base
profile as it's already a requirement for the agent.
Related to T3770
[1] Related to P1237