The sqldeveloper.conf under sqldeveloper/bin in the SQLDeveloper base directory contains the entry for the used java_home.
Therefore, on Windows, if you have unzipped SQLDeveloper to C:\sqldev then sqldeveloper.conf is under C:\sqldev\sqldeveloper\bin
It must have displayed:
SetJavaHome C:\Program Files\Java\jdk1.6.0_20
You need to Quit SQLDeveloper, then remove this entry and relaunch SQLDeveloper. You will be prompted for the location of Java.
If you want to get more insights into SQL, checkout this SQL Course from Intellipaat.