Its always a confusion how to handle space between Program Files. Some times this space creates an issue.
Windows provide a shortened path to resolve this issue. As per that the shortened path for Program Files and Program Files(x86) are as shown below
Progra~1 = 'Program Files'Progra~2 = 'Program Files(x86)'
If your JRE installed on C:\Program Files (x86)\Java\jre1.8.0_111
Now you can set the JAVA_HOME as follows
SET JAVA_HOME= C:\Progra~2\Java\jre1.8.0_111
Windows provide a shortened path to resolve this issue. As per that the shortened path for Program Files and Program Files(x86) are as shown below
Progra~1 = 'Program Files'Progra~2 = 'Program Files(x86)'
If your JRE installed on C:\Program Files (x86)\Java\jre1.8.0_111
Now you can set the JAVA_HOME as follows
SET JAVA_HOME= C:\Progra~2\Java\jre1.8.0_111
No comments:
Post a Comment