Closed brianoliver closed 9 years ago
For some reason, Windows may intermittently ignore or accept command line arguments containing spaces.
For example, on Windows 7, the following is sometimes ok (i.e.: it works). Sometimes it doesn't.
C:\Program Files\Java\jdk1.7.0_71\jre\bin\java
The solution is to ensure all command line executables are escaped in double quotes. e.g.:
"C:\Program Files\Java\jdk1.7.0_71\jre\bin\java"
If they contain spaces.
This issue was imported from JIRA ORACLETOOLS-180
Reported by @brianoliver
Marked as fixed by @brianoliver on Monday, November 3rd 2014, 2:10:09 pm
For some reason, Windows may intermittently ignore or accept command line arguments containing spaces.
For example, on Windows 7, the following is sometimes ok (i.e.: it works). Sometimes it doesn't.
C:\Program Files\Java\jdk1.7.0_71\jre\bin\java
The solution is to ensure all command line executables are escaped in double quotes. e.g.:
"C:\Program Files\Java\jdk1.7.0_71\jre\bin\java"
If they contain spaces.