7165755: OS Information much longer on linux than other platforms
Reviewed-by: sla, dholmes
@echo offREMREM Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.REMREM This code is free software; you can redistribute it and/or modify itREM under the terms of the GNU General Public License version 2 only, asREM published by the Free Software Foundation.REMREM This code is distributed in the hope that it will be useful, but WITHOUTREM ANY WARRANTY; without even the implied warranty of MERCHANTABILITY orREM FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public LicenseREM version 2 for more details (a copy is included in the LICENSE file thatREM accompanied this code).REMREM You should have received a copy of the GNU General Public License versionREM 2 along with this work; if not, write to the Free Software Foundation,REM Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.REMREM Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USAREM or visit www.oracle.com if you need additional information or have anyREM questions.REM REMREM This is common environment settings for all SAREM windows batch scriptsREM set jre\bin and jre\bin\client (or server) in PATHREM WINDBG_HOME must point to the Windows Debugging ToolsREM installation directoryif "%SA_JAVA%" == "" goto no_sa_javagoto sa_java_set:no_sa_javaset SA_JAVA=java:sa_java_setset SA_CLASSPATH=..\build\classes;..\src\share\lib\js.jar;sa.jar;lib\js.jarset SA_LIBPATH=..\src\os\win32\windbg\i386;.\win32\i386set OPTIONS=-Dsun.jvm.hotspot.debugger.useWindbgDebugger set OPTIONS=-Dsun.jvm.hotspot.debugger.windbg.imagePath="%PATH%" %OPTIONS%set OPTIONS=-Dsun.jvm.hotspot.debugger.windbg.sdkHome="%WINDBG_HOME%" %OPTIONS%if "%SA_DISABLE_VERS_CHK%" == "" goto vers_chkset OPTIONS="-Dsun.jvm.hotspot.runtime.VM.disableVersionCheck %OPTIONS%":vers_chkset SA_JAVA_CMD=%SA_JAVA% -showversion -cp %SA_CLASSPATH% -Djava.library.path=%SA_LIBPATH% %OPTIONS%