I'm trying to install the same Oracle JDK version on a Windows machine in two different paths, so I tried:
> jdk-8uxy-windows-x64.exe ADDLOCAL="ToolsFeature" INSTALLDIR=C:\jdk-path1 INSTALL_SILENT=1 STATIC=1 AUTO_UPDATE=0 NOSTARTMENU=1 REMOVEOUTOFDATEJRES=0
> jdk-8uxy-windows-x64.exe ADDLOCAL="ToolsFeature" INSTALLDIR=C:\jdk-path2 INSTALL_SILENT=1 STATIC=1 AUTO_UPDATE=0 NOSTARTMENU=1 REMOVEOUTOFDATEJRES=0
But it seems that the second installation removes the previous installation. Any idea why this happen and how to workaround it?
Thanks!