There's a bash script on my linux machine with these two lines:
[ -r /etc/java/java.conf ] && . /etc/java/java.conf
export JAVA_HOME
What does the export JAVA_HOME do? Usually I thought export VARIABLE_NAME=something sets the variable to something.
What does running export JAVA_HOME without setting it to something do?
I tried running it on the commandline, but nothing happens.