install jdk using wget in linux code example Example: install jdk linux sudo apt install openjdk-8-jdk