EC2にOracleのJREを適用する OracleのJREをインストール $sudo rpm -ivh jre-7u67-linux-x64.rpm /etc/profile.dに下記のjava.shを配置 export JAVA_HOME=/usr/java/jre1.7.0_67 export PATH=$JAVA_HOME/bin:$PATH sourceコマンドで環境変数を有効化 $ source /etc/profile.d/java.sh