I am launching Jupyter from the Anaconda prompt. However, I seem to be running into some errors because when I do ! echo %JAVA_HOME% in the notebook it points to somewhere that has Java 11, when I need Java 8.
I do echo %JAVA_HOME% in Anaconda prompt and get that same path for Java 11. When I do set JAVA_HOME='___' (path to Java 8) and then print the value of the variable again, it gives me the right path that I want to the Java 8 location. But then I go back to the notebook and run the same command and it still shows as the Java 11 path.
When I print JAVA_HOME in Command prompt, it gives me the Java 8 path that I want, but not when I use the Anaconda prompt. How can I change it in Anaconda/Jupyter notebook?