0% found this document useful (0 votes)
8 views1 page

Installing Jde

The document outlines a series of commands for updating the package list and installing necessary software on a Linux system. It includes steps for installing Java Development Kit (JDK) version 8, setting the JAVA_HOME environment variable, and configuring alternatives for Java and Javac. Additionally, it mentions the installation of npm, a package manager for JavaScript.

Uploaded by

WITCHER
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Installing Jde

The document outlines a series of commands for updating the package list and installing necessary software on a Linux system. It includes steps for installing Java Development Kit (JDK) version 8, setting the JAVA_HOME environment variable, and configuring alternatives for Java and Javac. Additionally, it mentions the installation of npm, a package manager for JavaScript.

Uploaded by

WITCHER
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

apt-get update

apt-get update && apt-get install apt-file -y && apt-file update && apt-get install
software-properties-common
sudo apt-get install openjdk-8-jdk
export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64"
update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/java-8-openjdk-
amd64/jre/bin/java" 3
update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/java-8-
openjdk-amd64/bin/javac" 3
sudo update-alternatives --config java
apt install npm

You might also like