...
Code Block | ||
---|---|---|
| ||
# Install java 8 sudo apt-get install openjdk-8-jdk # Check java version java -version # Update the java default version use by your system (if you have several) sudo update-alternatives --config java |
On Mac with Intel chip, run the following command:
Code Block | ||
---|---|---|
| ||
brew install openjdk@8 |
On Mac with Intel chip, add the line
export PATH=/usr/local/opt/openjdk@8/bin:$PATH
in the .bash_profile file and run the command "source ~/.bash_profile"On Windows, install Java 1.8 by getting it on the Oracle website. You need to create an account.
...