Showing posts with label How to set java version to latest in linux. Show all posts
Showing posts with label How to set java version to latest in linux. Show all posts

Saturday, January 14, 2017

How to upgrade JAVA version in AWS Linux instance

How to upgrade JAVA version in AWS Linux instance


On AWS EC2 instance(Linux) if you ever want to upgrade JAVA version to latest ,you can do it using following command.

Once the instance (EC2 linux) is up and running , connect remotely and logged in.

1. Check the version of JAVA using :
 -> java -version

2. Uninstall the Older version using : [in my case its java-1.7.0-openjdk ]
-> sudo yum remove java-1.7.0-openjdk

3. Install the Newer version of JAVA using :
-> sudo yum install java-1.8.0


To make sure its installed correctly - check the version again using command given in Step1 above.


Thats it...

Robot Framework : Sample code to verify if Robot Framework is installed properly ? - part2

Sample code to verify if Robot Framework is installed properly ? 1. Create a file name test.robot and save it. *** Test Cases *** Sample ...