public String[] runMinecraft() {
        File target = VersionInfo.getMinecraftFolder();
        File versionTarget = new File(target + File.separator + "versions", VersionInfo.getModpackName());
        String[] lastLogin;
        String mcUsername = getParameter("username");
            lastLogin = MinecraftLoginReader.readSavedUsernames(
                    new File(VersionInfo.getTechnicFolder(), "lastlogin"));

        if ((mcUsername != null && mcUsername.equals(lastLogin[0])) || (Boolean) nbDebug[0]) {
            String[] loginData = new yggdrasilParser(lastLogin[0], lastLogin[1]).getSessionInfo();
            NativesHelper nh = new NativesHelper(target.getPath());
            File nativesDir = new File(versionTarget.getPath() + File.separator + VersionInfo.getModpackName() + "-natives-" + System.nanoTime());
            Object[] rqf = new versionRqst().getRQF(target);
            Collection<File> vrsTest = (Collection<File>) rqf[1];
            CompleteVersion cv = (CompleteVersion) rqf[0];

            try {
                nh.cleanOldNatives();
                if (!nativesDir.isDirectory()) { nativesDir.mkdirs(); }
                nh.unpackNatives(cv, nativesDir);
            } catch (IOException ex) {
                logWindow.setText(logWindow.getText() + "EXCEPTION: \n" + ExceptionUtils.getStackTrace(ex) + "\n\n");
            }
            
            String libData = "";
            for (File aLibrary : vrsTest) {
                String bLibrary = aLibrary.getPath();
                libData += ";";
                libData += bLibrary.replace("-null", "").replace("/", File.separator);
            }
            libData = libData.substring(1);
            String[] mineCmds = new String[3];
            mineCmds[0] =
                    "javaw -Xmx1G -Djava.library.path=" + 
                    nativesDir.getPath() + 
                    " -cp " + libData + 
                    " net.minecraft.launchwrapper.Launch --username " + lastLogin[0] + " --session token:" + 
                    loginData[0] + ":" + 
                    loginData[1] + " --version " + VersionInfo.getModpackName() +
                    " --gameDir " + VersionInfo.getTechnicFolder() + File.separator + VersionInfo.getModpackName() + //File.separator +
                    " --assetsDir " + target.getPath() + File.separator + "assets " + 
                    "--tweakClass cpw.mods.fml.common.launcher.FMLTweaker";
            mineCmds[2] = loginData[0];
            mineCmds[1] = lastLogin[0];
            pAccessToken = loginData[0];
            return mineCmds;
        }
        return null;
    }