source: trunk/openjdk/hotspot/agent/make/saenv.bat

Last change on this file was 278, checked in by dmik, 14 years ago

trunk: Merged in openjdk6 b22 from branches/vendor/oracle.

File size: 1.9 KB
Line 
1@echo off
2REM
3REM Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
4REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5REM
6REM This code is free software; you can redistribute it and/or modify it
7REM under the terms of the GNU General Public License version 2 only, as
8REM published by the Free Software Foundation.
9REM
10REM This code is distributed in the hope that it will be useful, but WITHOUT
11REM ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12REM FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13REM version 2 for more details (a copy is included in the LICENSE file that
14REM accompanied this code).
15REM
16REM You should have received a copy of the GNU General Public License version
17REM 2 along with this work; if not, write to the Free Software Foundation,
18REM Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19REM
20REM Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21REM or visit www.oracle.com if you need additional information or have any
22REM questions.
23REM
24REM
25
26REM This is common environment settings for all SA
27REM windows batch scripts
28
29REM set jre\bin and jre\bin\client (or server) in PATH
30REM WINDBG_HOME must point to the Windows Debugging Tools
31REM installation directory
32
33if "%SA_JAVA%" == "" goto no_sa_java
34
35goto sa_java_set
36
37:no_sa_java
38set SA_JAVA=java
39
40:sa_java_set
41
42set SA_CLASSPATH=..\build\classes;..\src\share\lib\js.jar;sa.jar;lib\js.jar
43
44set SA_LIBPATH=..\src\os\win32\windbg\i386;.\win32\i386
45
46set OPTIONS=-Dsun.jvm.hotspot.debugger.useWindbgDebugger
47set OPTIONS=-Dsun.jvm.hotspot.debugger.windbg.imagePath="%PATH%" %OPTIONS%
48set OPTIONS=-Dsun.jvm.hotspot.debugger.windbg.sdkHome="%WINDBG_HOME%" %OPTIONS%
49
50if "%SA_DISABLE_VERS_CHK%" == "" goto vers_chk
51set OPTIONS="-Dsun.jvm.hotspot.runtime.VM.disableVersionCheck %OPTIONS%"
52
53:vers_chk
54set SA_JAVA_CMD=%SA_JAVA% -showversion -cp %SA_CLASSPATH% -Djava.library.path=%SA_LIBPATH% %OPTIONS%
Note: See TracBrowser for help on using the repository browser.