Jdeveloper Configuration: Setting the JAVA_HOME variable
Modify the jdeveloper configuration file(s). Default location will be:
C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\bin\jdev.conf
also modify the setDomainEnv.cmd file in the user appdata directory
(or just delete C:\Users\<MyUser>\AppData\Roaming\JDeveloper\system12.2.1.3.42.170820.0914) to recreate jdev