The very latest version of Sun Oracle JDK can be downloaded from its official website here. The one we need is  jdk-7u45-linux-x64.tar.gz.  When we got this file, it can be installed with following commands:

This article is meant to be a quick guide that introduces how to get started with Amazon EC2 commandl-ine tools on a MacBook Pro. Most of this information can be found in EC2 API docs, and this is not meant…