@Override
    public List<JDK> loadDefaultJDKOnSystem() throws LoadDefaultJDKException, DefautJDKInstalledNotFoundException {
	List<JDK> jdks = null;
	try {
	    logger.info("Initing searching default jdk on system");
	    File file = new File("load.bat");
	    file.createNewFile();
	   
	    logger.info("'load.bat' was created to execute command");
	    FileWriter fileWriter = new FileWriter(file);
	    fileWriter.write(Command.FIND_JAVA_PATH);
	    fileWriter.flush();
	    fileWriter.close();
	    List<String> commands = new ArrayList<String>();
	    commands.add("cmd");
	    commands.add("/C");
	    commands.add("load.bat");
	   
	    logger.info("begin execute command...");
	    SystemCommandExecutor commandExecutor = new SystemCommandExecutor(commands);
	    commandExecutor.executeCommand();
	    StringBuilder standardOutputFromCommand = commandExecutor.getStandardOutputFromCommand();
	    
	    logger.info("end execute command...");
	    List<String> directories = getJavaDirectories(standardOutputFromCommand);
	   
	    jdks = new ArrayList<JDK>();
	    for (String javaDirectory : directories ) {
		
		logger.info("found directory :"+javaDirectory);
		javaDirectory = javaDirectory.trim();
		String[] pathSplited = javaDirectory.split("\\\\");
		StringBuilder path = new StringBuilder();
		String name = pathSplited[pathSplited.length - 3];
		
		logger.info("verifing if java directory");
		for (String part : pathSplited) {
		    if (!part.equalsIgnoreCase("bin") && !part.equalsIgnoreCase("javac.exe")) {
			path.append(part).append("\\");
		    }
		}
		logger.info("directory ok!");
		jdks.add(new JDK(name, path.substring(0, path.length() - 1).toString()));
	    }
	    file.delete();
	} catch (Exception e) {
	    logger.error("Problem during searching jdk direcotry",e);
	    throw new LoadDefaultJDKException();
	}

	if (jdks.isEmpty()) {
	    logger.info("Not found any directory deafult, please add manualy");
	    throw new DefautJDKInstalledNotFoundException();
	}
	logger.info("End searching jdk installed. The amount was "+jdks.size()+" directories");
	return jdks;
    }