Bash_profile doesn’t work
Per memory in the .bash_profile when I used to dabble in Java you need to add export and ". In the Terminal run the command:

 nano .bash_profile


Then add:

export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home"


Then do the reboot of: . .bash_profile after you've saved the bash_profile