@echo off
REM                  Sun Public License Notice
REM  
REM  The contents of this file are subject to the Sun Public License
REM  Version 1.0 (the "License"). You may not use this file except in
REM  compliance with the License. A copy of the License is available at
REM  http://www.sun.com/
REM  
REM  The Original Code is NetBeans. The Initial Developer of the Original
REM  Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
REM  Microsystems, Inc. All Rights Reserved.
    
REM ################################################################
REM Loader for IDE command-line mode, using the scripting module support.
REM The script-language can be chosen by using the -t flag (e.g. -t JPython).
REM Current languages supported are BeanShell (default), JPython, & DynamicJava.
REM ################################################################

rem *** INSTALATOR MUST SET APPROPRIATE DIRECTORY ***
SET _IDE_HOME=..\..

if not exist %_IDE_HOME%\lib\core.jar goto NO_IDE

set STARTCLASS=org.netbeans.core.NonGuiMain

%_IDE_HOME%\bin\runide -mainclass %STARTCLASS% %1 %2 %3 %4 %5 %6 %7 %8 %9 
goto END

:NO_IDE
echo Error: _IDE_HOME variable does not point to your
echo IDE installation. Please edit your startup script. 
pause

:END
