I have installed JDK 1.7.0_17 on my windows7 32 bit machine and created a batch file set java path but it doesn't work.
I have installed jdk under c:\program files.... and need to run java from E: and created batch file under E:\ as follows:
set path="C:\Program Files\Java\jdk1.7.0_17\bin";
I got the following exception whenever I run the .bat file.
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
\WindowsPowerShell\v1.0\
What is the mistake in my code?