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

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

crash - Windows Rundll32 (child process of DllHost) is crashing. How can I even identify it? - Super User

networking - Slave steals IP meant for bonded interface - Ask Ubuntu