Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

On Ubuntu/Debian, you can do the following:

Go to Oracle JDK download website, login and download the tar ball : jdk-8uxxx-linux-x64.tar.gz

Code Block
languagebash
titleJava dependency
sudofor apt-getJavaCommand install software-properties-common -y && \
sudo add-apt-repository ppa:webupd8team/java -y && \
sudo apt-get update && \
echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections && \
sudo apt-get install oracle-java8-installer oracle-java8-set-default -yin java java2groovy javac javadoc javafxpackager javah javap javapackager javaws
do
    sudo update-alternatives --install /usr/bin/$JavaCommand $JavaCommand /your_path_extracted_jdk/bin/$JavaCommand 1
done

Some other dependencies are required as well. Use your package manager of choice to install these:

...