I am new to this mac world. I just installed jdk 8 on my mac and want to set $JAVA_HOME environment variable. I guess I should set it in .bash_profile file.
but it seems, my machine does not have this file and I don't know from where this $PATH variable coming from. Can't I have all env variables listed in one window or by one command just like windows?
how do I do it?
Thanks