On Windows, you have the possibility to select the JDK to be used when you are asked for it in a prompt starting SQL developer first time.
Afterwards, you can still change it by editing this file: C:\Users\your_user_name\AppData\Roaming\sqldeveloper\version_number\product.conf
Look for this line:
SetJavaHome Path_to_JDK_folder (e.g.: C:\Program Files\Eclipse Adoptium\jdk-8.0.452.9-hotspot)**