server - Installing java on Ubuntu Amazon aws - Ask Ubuntu


this question has answer here:

i want install java in ubuntu server in amazon aws. how can find model number of server can install right version of java?

run lsb_release -a find version of ubuntu running.

if running 16.04:

sudo apt-get update sudo apt-get install openjdk-8-jdk 

if running 14.04:

sudo apt-get update sudo apt-get install openjdk-7-jdk 

Comments

Popular posts from this blog

permissions - Mount is denied because the NTFS volume is already exclusively opened - Ask Ubuntu

Windows XP installation, no previous version of Windows NT - Super User

software installation - How to install linux driver for a lb-link wireless usb adapter - Ask Ubuntu