How to setup jdk path in windows 7:
1st download the JDK7 from here.
Now if your are going to install 64 bit jdk on a 64 bit OS and also having an intention to install ODI 18.104.22.168 then better install java in a location without having any space. For example C:\java\jdk1.7.
*Never use 32 jdk on 64 bit OS.*
This is because there is a problem normally comes while installing ODI on a 64 bit OS. I am going to recreate the same error just make you clear on this. If you use below command to start the setup.exe, you will get an error as follows
setup.exe -jreLoc C:\Program Files\Java\jdk1.7.0
Output: “C:\Program\Java\jdk1.7.0\bin\javaw.exe” not found.
So at this point its very much clear not to use paths having space.. In my system i am following as C:\Java\Java\jdk1.7.0
Okay lets come to the point. After installation go to the bin location C:\Java\Java\jdk1.7.0\bin and copy the path.
If there is any problem during your confiuration then you will find below message
‘javac’ is not recognized as an internal or external command,
operable program or batch file.