I am on JDK 8u25 on Windows 8, and I am experiencing a problem with my Java installation. I can run javac
perfectly fine, but running java
produc
Why Oracle did such a poor way to point to java is beyond me. We solved this problem by creating a new link to the JDK
mklink /d C:\ProgramData\Oracle\Java\javapath "C:\Program Files\Java\jdk1.8.0_40\bin\"
The same would work for a JRE if that is all that is required.
This replaces the old symlinks in C:\ProgramData\Oracle\Java\javapath
(if they existed previously)