im attempting to set up my pc for programming in scala, therefore I need to add java to my path.
Now, I have downloaded Java, and ensured that it is te correct version 1.8.0_261.
I can find tutorials that say that I should go in my path variable and add my java dir to there, but I can also find ones that say that I should make a java_home variable, and set it to my java. Which one of these is true?
Also in tutorials, the directory that people usually have for java is something like:
C:\Program Files\Java\jdk1.7.0_60\bin
In my case, my java seems to be in C:\Program Files (x86)\Common Files\Oracle\Java\javapath, why is my folder not called jdk? am i doing something wrong?