Timeline for answer to "The system cannot find the file C:\ProgramData\Oracle\Java\javapath\java.exe" by user2603432
Current License: CC BY-SA 4.0
Post Revisions
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 25, 2023 at 10:22 | history | edited | anacron | CC BY-SA 4.0 | Added command to cd into necessary directory. |
| May 20, 2022 at 9:52 | comment | added | Ivan_a_bit_Ukrainivan | I am wondered why java even requires for something to be in "C:\Program Files\Common Files\Oracle\Java\javapath" directory. This is quite confusing. What should I do if I want to target different JDK? | |
| May 23, 2017 at 11:55 | history | edited | URL Rewriter Bot | replaced http://stackoverflow.com/ with https://stackoverflow.com/ | |
| Oct 21, 2016 at 21:42 | comment | added | Ti Strga | You may need to be running your command prompt as administrator, otherwise you might run into permissions problems (as Igor may have above). | |
| May 29, 2016 at 14:55 | comment | added | Noam Manos | Before running those mklink, make sure to cd C:\ProgramData\Oracle\Java\javapath and del java*.exe, otherwise you'll create the new symbolic links in your current cmd directory... | |
| May 29, 2016 at 10:13 | review | Suggested edits | |||
| May 29, 2016 at 11:22 | |||||
| Sep 17, 2015 at 16:48 | comment | added | dinvlad | It doesn't seem to work on Windows 7 - due to a recent change in how it handles symlinks, its GUI displays an error saying it cannot find "java[w/ws].exe" when using symlinks. It's safer to just create a directory junction: rmdir /s /q %ProgramData%\Oracle\Java\javapath & mlink /d %ProgramData%\Oracle\Java\javapath %ProgramFiles%\Java\jre1.8.0_60\bin | |
| Dec 19, 2014 at 22:03 | history | edited | user2603432 | CC BY-SA 3.0 | needed symlink instead of shortcut |
| Dec 19, 2014 at 19:40 | history | answered | user2603432 | CC BY-SA 3.0 |