Use depmaps in Java home resolver