Softwares Installation on Linux Machine

Java Installation
A step-by-step detailed description can be found here.

copy tar to folder opt

tar -xvfz .tar.gz

run the below commands

sudo update-alternatives --install "/usr/bin/java" "java" "/opt/jdk1.8.0_171/bin/java" 1

sudo update-alternatives --install "/usr/bin/javac" "javac" "/opt/jdk1.8.0_171/bin/javac" 1

sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/opt/jdk1.8.0_171/bin/javaws" 1

Setting Locale
Locale needs to be set to get date as per the current contry date.

timedatectl
User timedatectl to set locale"timedatectl status"If this command returns error: Failed to create bus connection: No such file or directory

Install dbus to fix it as: "apt-get install dbus"Use the command: timedatectl list-timezones

This will list the available timezones. Select the required timezone."sudo timedatectl set-timezone "

locale
"locale"This command will display the current locale details.

If a required locale is not existing it can be generated as:"sudo locale-gen 'en_US.UTF-8'"To select supported locales and default locale use the command:"sudo dpkg-reconfigure locales"