no

How to Install Java8 in Ubuntu

A set of commands to install Java8 on Ubuntu. sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracl...

A set of commands to install Java8 on Ubuntu.

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Now set JAVA_HOME in the environment variables.
sudo vi /etc/environment
// add
JAVA_HOME="/usr/lib/jvm/java-8-oracle"
// save

// reload
source /etc/environment

// check
echo $JAVA_HOME

Related

java-getting-started 8099361131995603380

Post a Comment Default Comments

Outsourcing

Are you looking for freelancers in the Philippines? Get in touch.

Donations

If you like what I do, you can support this channel by buying me a coffee. I would be grateful for your contribution! Your donations will help me create more FREE online courses and learning materials for programmers and remote workers.

item