how can I prevent JDK installation to install the PulicJRE ?
The installation following the instructions für JDK 1.6 do not work:
cmd /c " "%~dp0jdk-7u11-windows-x64.exe" /s /v"/qn ADDLOCAL="ToolsFeature" IEXPLORER=1 MOZILLA=1 REBOOT=Supress JAVAUPDATE=0 WEBSTARTICON=0 EULA=0 INSTALLDIR="%DestDir%" /L "%~dp0Logs\j2sdk-1_7_0_11_install-64.log"""
Anyone here how knows how to ?
What does "do not work" mean exactly. Error? Runtime is installed anyway?
The instructions say it should be done the way you're doing it, except that you have a big pile of other flags added to it. I find "REBOOT=Supress" a bit shady, I believe the correct spelling is "suppress".
Runtime is installed anyway.
besides this: also the directive INSTALLDIRPUBJRE= is ignored when the path does not exist. (is not created)
Thanks for the quick reply
Edited by: 982241 on Jan 16, 2013 4:27 PM
Also happens when you do not run this as part of some script, but just on a command prompt?
If that also doesn't work you may have found a regression in the installer (it must have worked at some point) and a bug report should be made.
Also happens from the command line:
D:\install\j2sdk-1_7_0_11>jdk-7u11-windows-x64.exe /s /v"/qn ADDLOCAL="ToolsFeature" IEXPLORER=1 MOZILLA=1 REBOOT=Supress JAVAUPDATE=0 WEBSTARTICON=0 EULA=0 INSTALLDIR="E:\opt\JAVA\jdk17011" /L "D:\install\j2sdk-1_7_0_11\Logs\j2sdk-1_7_0_11_install-64.log""
Same with the 32-bit runtime on the x64 machine.
The "INSTALLDIRPUBJRE" directive does not work when the installer has to create more than one level of the directory structure.
Thanks so far