VmSystem.out = ps;
    public static void initialize() {        if (!inited) {            // Initialize resource manager            final ResourceManager rm = ResourceManagerImpl.initialize();            /* Set System.err, System.out */            bootOut = new SystemOutputStream();            //final ScreenOutputStream os = new            // ScreenOutputStream(Screen.getInstance());            final PrintStream ps = new PrintStream(bootOut, true);            System.setOut(ps);            System.setErr(ps);            /* Initialize the system classloader */            VmSystemClassLoader loader = (VmSystemClassLoader) (getVmClass(Unsafe                    .getCurrentProcessor()).getLoader());            systemLoader = loader;            loader.initialize();            // Initialize VmThread            VmThread.initialize();            /* Initialize the monitor system */            MonitorManager.initialize();            final Vm vm = Vm.getVm();            // Initialize the monitors for the heap manager            vm.getHeapManager().start();            /* We're done initializing */            inited = true;            Unsafe.getCurrentProcessor().systemReadyForThreadSwitch();            // Load the command line            final Properties props = System.getProperties();            props.setProperty("jnode.cmdline", getCmdLine());            // Make sure that we have the default locale,            // otherwise String.toLowerCase fails because it needs itself            // via Locale.getDefault.            Locale.getDefault();            // Load the initial jarfile            initJar = loadInitJar(rm);            // Start the compilation manager            vm.startHotMethodManager();        }    }