Setup JAVA_HOME and path to JDK on Linux (Ubuntu in this example), edit the file .bashrc
$ nano .bashrc
Add the line:
export JAVA_HOME=
export PATH=$JAVA_HOME/bin:$PATH
Where
Save it and exit.
To reload .bashrc without log-out and log-in, enter the command:
$ source ~/.bashrc
0 تعليقات