scripts/configure.js
function configure() {
    var java = path.normalize(path.join(__dirname, "..", "jre", "bin", "java"+ClosureCompiler.JAVA_EXT));
    console.log("  Configuring bundled JRE for platform '"+platformPostfix()+"' ...");
    if (!/^win/.test(process.platform)) {
        var jre = path.normalize(path.join(__dirname, "..", "jre"));
        console.log("  | 0755 "+jre);
        fs.chmodSync(jre, 0755);
        console.log("  | 0755 "+path.join(jre, "bin"));
        fs.chmodSync(path.join(jre, "bin"), 0755);
        console.log("  | 0755 "+java);
        fs.chmodSync(java, 0755);
        console.log("  Complete.\n");
    } else {
        console.log("  Complete (not necessary).\n");
    }
}
function configure() {
    var java = path.normalize(path.join(__dirname, "..", "jre", "bin", "java"+ClosureCompiler.JAVA_EXT));
    console.log("  Configuring bundled JRE for platform '"+platformPostfix()+"' ...");
    if (!/^win/.test(process.platform)) {
        var jre = path.normalize(path.join(__dirname, "..", "jre"));
        console.log("  | 0755 "+jre);
        fs.chmodSync(jre, 0755);
        console.log("  | 0755 "+path.join(jre, "bin"));
        fs.chmodSync(path.join(jre, "bin"), 0755);
        console.log("  | 0755 "+java);
        fs.chmodSync(java, 0755);
        console.log("  Complete.\n");
    } else {
        console.log("  Complete (not necessary).\n");
    }
}
function configure ( ) { var java = path . normalize ( path . join ( __dirname , ".." , "jre" , "bin" , "java" + ClosureCompiler . JAVA_EXT ) ) ; console . log ( "  Configuring bundled JRE for platform '" + platformPostfix ( ) + "' ..." ) ; if ( ! / ^win / . test ( process . platform ) ) { var jre = path . normalize ( path . join ( __dirname , ".." , "jre" ) ) ; console . log ( "  | 0755 " + jre ) ; fs . chmodSync ( jre , 0755 ) ; console . log ( "  | 0755 " + path . join ( jre , "bin" ) ) ; fs . chmodSync ( path . join ( jre , "bin" ) , 0755 ) ; console . log ( "  | 0755 " + java ) ; fs . chmodSync ( java , 0755 ) ; console . log ( "  Complete.\n" ) ; } else { console . log ( "  Complete (not necessary).\n" ) ; } }
Configures our bundled Java.
Configures our bundled Java .