How Do You Install the Java Compiler on Debian or Ubuntu Linux?

Problem scenario
You are using Debian or Ubuntu Linux. You want to compile Java programs. What do you do?

Solution
Run these commands:

sudo apt-get -y update
sudo apt-get -y install default-jdk

Leave a comment

Your email address will not be published. Required fields are marked *