8/15/2023 0 Comments Install java 8 on ubuntu![]() ![]() Save the file and then run the following command: source ~/. Vi ~/.bashrcAdd the following line to the content:Įxport JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 usr/lib/jvm/java-8-openjdk-amd64/jre/bin/javaAs printed out, JDK is installed in folder /usr/lib/jvm/java-8-openjdk-amd64. To do this, we need to find out where JDK is installed: OpenJDK 64-Bit Server VM (build 25.275-b01, mixed mode)Ĭonfigure JAVA_HOME environment variable is optional but I highly recommend it especially if you want to install Hadoop, Spark, Hive, HBase or any other Java based frameworks. Wait until the installation is completed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |