Try to use jdk and mvn downloads from cacheDir