Java JDK Not Recognized After Installation: Fixes and Checks - Fix 502 Bad Gateway Nginx from Command Line-Resolve Windows Search Path Not Found via Registry

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.