server - Installing java on Ubuntu Amazon aws - Ask Ubuntu
this question has answer here:
- how install java? 13 answers
- checking os details in ubuntu 14.04.1 lts 1 answer
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
Post a Comment