AMD Crash Defender Service is blocking javaw.exe. Download and run java_fix.reg. That should do the trick!
Windows cannot find 'C:\Program Files\Java\jdk-17\bin\javaw.exe'. Make sure you typed the name correctly, and then try again.
I'm trying to get either Adoptium JDK or the official Oracle JDKs to work on Windows 11 22H2. Whenever I try to install it and use it, literally the only file that doesn't work is javaw.exe. Problem pictured below. Clearly the file exists; it even comes up when I do dir <installation path> in Command Prompt. The Oracle JDK in particular is installed when these screenshots were taken.
Windows for home | Windows 11 | Files, folders, and storage
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
21 additional answers
Sort by: Most helpful
-
Ramesh Srinivasan 173.4K Reputation points Volunteer Moderator2023-02-21T03:59:44+00:00 Strange. Can you run "dir /w" and post a screenshot?
Also, what happens when you type the full path to javaw.exe in a Command Prompt window?
-
Ramesh Srinivasan 173.4K Reputation points Volunteer Moderator2023-02-21T04:11:09+00:00 Please right-click javaw.exe in File Explorer and click Copy Path.
Right-click Start and click Run.
Paste the path from the clipboard (including the enclosed double quotes).
Click OK.
Does it work?
Also, can you run C:\Program Files\Java\jdk-17\bin\javaw.exe in Command Prompt?