I encountered this issue while Jdeveloper Setup. Below are the steps followed.
Step 1: Run regedit (remember to run it as the administrator)
Step 2: Expand HKEY_LOCAL_MACHINE
Step 3: EXPAND SOFTWARE
Step 4: EXPAND Microsoft
Step 5: Expand Windows
Step 6: Expand Current Version
Step 7: Expand App Paths
. At Paths, add a New Key.
Name it as jdevW.exe
Step 8: Expand jdevW.exe. On the right hand side, you will see the (DEFAULT) value. Go to the pathway to the jdeveloper executable.
Ex:- C:\p22064122_R12_GENERIC\jdevbin\jdev\bin\jdevW.exe