create symlink in /opt/jdk

First create /opt/jdk if it does not exists and then creates the symlink /opt/jdk/default is this does not exist.