Unfortunately it doesn't assist you at all.. It tells you,
Amy Ayy wrote:H. . . The website link I used to assist me was this: . . . .
...which is wrong. As Norm told you, it should be JAVA_HOME\bin (on a Windows® machine).
. . .
So the PATH environment variable should include JAVA_HOME:
1 PATH = Other Paths + JAVA_HOME
. . .
Each new JDK version creates its own installation folder and therefore has its own JAVA_HOME, so I have never heard of that being a problem.
Am I using a version of JDK that is too new? . . . .
It does eventually say to add \bin, but by the time you reach that part, you have already been given misleading information.
Norm Radder wrote:. . . Read all of the pages at the link you provided.
Carey Brown wrote:On Wlindows there is another gotcha, you have to place %JAVA_HOME%\bin first on the PATH because Oracle was embedding an older link to Java in C:\Windows which normally comes first or early on.
Campbell Ritchie wrote:so one can try different versions readily by changing the PATH temporarily
Paul Clapham wrote:In other words: As far as Java is concerned, the PATH environment variable is a horrible mess. And the tutorial you were using was unfortunately not the best one to use.
It used to be (up until Java 8) that Oracle would provide you with a Windows installer, which would install the JDK and JRE and also fix up the PATH in a workable way. Now they don't do that any more and the poor beginner is thrown into the deep end of the swamp.
and the poor beginner is thrown into the deep end of the swamp.
Campbell Ritchie wrote:That might work if we were aware of all the different JREs installed.
Amateurs built google. Professionals built the titanic. We can't find the guy that built this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!https://www.kickstarter.com/projects/paulwheaton/greenhouse-1