Fixed build command
 * The command is now echoed into a file and the file is then executed
   with sh.
 * Removed other jdks until build is correct to avoid consuming resources.