Run the jdk installer as follows:
jdk.exe /s INSTALLDIRJAVADB=C:\test\JAVADB
Expected behaviour: JavaDB should be installed in specified location and JDK/JRE should be installed in default location.
Actual behaviour: JDK/JRE/JAVADB are getting installed in default location.
Tested on XP(32-bit) and Vista (32-bit) with 6u21b06/6u19.
When run as follows:
jdk.exe /s INSTALLDIR=C:\test\JDK /INSTALLDIRJAVADB=C:\test\JAVADB,it runs as expected and JDK/JAVADB are installed in specified locations. JRE is installed in default location.
jdk.exe /s INSTALLDIRJAVADB=C:\test\JAVADB
Expected behaviour: JavaDB should be installed in specified location and JDK/JRE should be installed in default location.
Actual behaviour: JDK/JRE/JAVADB are getting installed in default location.
Tested on XP(32-bit) and Vista (32-bit) with 6u21b06/6u19.
When run as follows:
jdk.exe /s INSTALLDIR=C:\test\JDK /INSTALLDIRJAVADB=C:\test\JAVADB,it runs as expected and JDK/JAVADB are installed in specified locations. JRE is installed in default location.
- relates to
-
JDK-6962904 JDK installer /s with only INSTALLDIRPUBJRE does not work as expected
-
- Closed
-