Anthony Horner
asked on
how to install java on RHEL image on EC2
I've installed the RHEL image on the free tier of EC2 on Amazon Web Services.
I've downloaded the jdk as a tar.gz and uploaded it onto the image.
I thought that to install it, would require me just un-tarring the file with something like :
tar -xf jdk-8u121-linux-x64.tar.gz
Which unpacked the archive fine but I thought it would set the environment variables but it hasn't.
What should else should I be doing? I tried this but I'm not sure if this would apply to the EC2 image. either way when I tried it, it didn't come back with anything.
Any suggestions to finish installing java?
TIA
I've downloaded the jdk as a tar.gz and uploaded it onto the image.
I thought that to install it, would require me just un-tarring the file with something like :
tar -xf jdk-8u121-linux-x64.tar.gz
Which unpacked the archive fine but I thought it would set the environment variables but it hasn't.
What should else should I be doing? I tried this but I'm not sure if this would apply to the EC2 image. either way when I tried it, it didn't come back with anything.
Any suggestions to finish installing java?
TIA
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
RHEL is a commercially supported product isn't it?
ASKER
Yeah, guess you have a point there
ASKER