Changing JDK requirement to 7.
Extracting IP from task to variable