Update JavaCache.md

correcting lag of dependency
Merge pull request #2937 from mhmhkashi/patch-1

Update JavaCache.md