Knute Snortum wrote:
Java and Javac are different do they need to be matching?
They do. Can you get to a command line and type
where java
I suspect you will get two entries in return, something like this:
The path that has "jdk1.8.0_112" in it is the one you want. This means the other path (in this case, "C:\ProgramData\Oracle\Java\javapath") needs to be removed from your PATH environment variable.
C:\ProgramData\Oracle\Java\javapath;%JAVA_HOME%;...
Under user variables, I set up the following:
Variable name: JAVA_HOME
Variable value: C:\Program Files\Java\jdk1.8.0_111\bin
All things are lawful, but not all things are profitable.
All things are lawful, but not all things are profitable.
Is it working now? That is probably the most important question.Joe Dixon wrote:. . .
C:\Program Files>echo %JAVA_HOME%
JAVA_HOME\bin
C:\Program Files>path
PATH=C:\ProgramData\Oracle\Java\javapath;%JAVA_HOME%\bin;C:\ProgramData\Oracle\Java\javapath\java;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Skype\Phone\;%USERPROFILE%\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\
. . . .
All things are lawful, but not all things are profitable.
Doody calls. I would really rather that it didn't. Comfort me wise and sterile tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|