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

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User