Changing "Program Files" to "progra~1" worked as suggested in the comments above.
Oracle setup.exe space sensitivity when specifying jre absolute path
-
01-06-2022 - |
문제
I am currently setting up Oracle Enterprise edition for my computer. That means I use the Oracle Universal Installer to launch the program. When I launch the setup.exe
file from my computer and give the specified arguments:
setup.exe -jreLoc "C:\Program Files\Java\jre7"
I get the following error:
C:\Program\bin\javaw.exe was not found.
However if I copy the jre7
directory over to the C:\
directory so the path is now C:\jre7
then it works. I tried with quotes and it thinks its part of the path file. Single quotes fail as well.
My questions is for the Oracle setup.exe
launcher how do you specify a space in the path of the jreLoc
since quotes seem to fail?
해결책
다른 팁
Also the directory path containing the installation software should not contain spaces either. So, for instance move the directory winx64_12c_client to c:\
Consider having the oracle setup files which you are trying to install in a path, where its folders' and subfolders' names DO NOT have spaces..
This worked for me..
I used JDK path instead of JRE path and it worked for me, e.g.
setup.exe -jreLoc C:\Progra~1\Java\jdk7