By default SQLdeveloper searches for a jdk within its directory. If it doesnt find it will prompt to select with a popup. If we need to set it ,can be also be done in the jdk.conf file present in <installationfolder>/sqldeveloper/bin by setting SetJavaHome