-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Desktops
- Desktop Operating Systems and Recovery
- Re: Mistakenly changed PATH in the Environment Variables

Create an account on the HP Community to personalize your profile and ask a question
06-30-2017 01:10 PM - edited 06-30-2017 01:11 PM
I mistakenly changed the PATH variable to that for my new JDK that was installed yesterday. And I don't remember the former path. Can anyone tell me what it should be? So far, I found it should start with
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;, but there's more that should be on the end I believe. Hope someone can assist today.
Solved! Go to Solution.
Accepted Solutions
07-01-2017 04:29 PM
> Thank you ...
On this forum, please click the purple/white "Thumbs-Up" icon for each message that has been helpful.
Once you have an answer, please click "Accept As Solution".
I will repeat:
uninstall JDK.
Reboot.
Check that references in %PATH% no longer reference Java and/or JDK.
Reinstall JDK.
That should update %PATH% to enable applications to be executed.
06-30-2017 03:17 PM
At a command-line prompt, enter: echo %PATH% and press ENTER
to see:
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
[I have "split" the result after each "semi-colon", for legibility, on this forum.]
Obviously, I don't have Java installed.
Additionally, ONLY on my system, I have:
C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files (x86)\Windows Live\Shared;
C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;
C:\Program Files\Common Files\Microsoft Shared\Windows Live;
C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;
C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;
C:\Program Files\ooRexx;
because I have installed other software.
Have you trying uninstalling that JDK, and reinstalling it?
07-01-2017 03:00 PM
I have correctecd the PATH error. Found the solution online through Java.com & Computerhope.com. But the emulator is still not functioning properly. Where can I get live help? Where I can share my screen? I can't keep waiting for email responses. I'm losing a lot of time.
07-01-2017 04:29 PM
> Thank you ...
On this forum, please click the purple/white "Thumbs-Up" icon for each message that has been helpful.
Once you have an answer, please click "Accept As Solution".
I will repeat:
uninstall JDK.
Reboot.
Check that references in %PATH% no longer reference Java and/or JDK.
Reinstall JDK.
That should update %PATH% to enable applications to be executed.