source: trunk/openjdk/hotspot/agent/make/saenv64.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: 2.1 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 FIXME: How do I detect processor on Windows so that
27REM AMD-64/IA-64 could be detected? Should I assume
28REM MKS/Cygwin here?
29
30REM This is common environment settings for all SA
31REM windows batch scripts
32
33REM set jre\bin and jre\bin\client (or server) in PATH
34REM WINDBG_HOME must point to the Windows Debugging Tools
35REM installation directory.
36
37if "%SA_JAVA%" == "" goto no_sa_java
38
39goto sa_java_set
40
41:no_sa_java
42set SA_JAVA=java
43
44:sa_java_set
45
46set SA_CLASSPATH=..\build\classes;..\src\share\lib\js.jar;sa.jar;lib\js.jar
47
48REM For now, only AMD-64, IA-64 stack walking is not working anyway
49set SA_LIBPATH=.\src\os\win32\windbg\amd64;.\win32\amd64
50
51set OPTIONS=-Dsun.jvm.hotspot.debugger.useWindbgDebugger
52set OPTIONS=-Dsun.jvm.hotspot.debugger.windbg.imagePath="%PATH%" %OPTIONS%
53set OPTIONS=-Dsun.jvm.hotspot.debugger.windbg.sdkHome="%WINDBG_HOME%" %OPTIONS%
54
55if "%SA_DISABLE_VERS_CHK%" == "" goto vers_chk
56set OPTIONS="-Dsun.jvm.hotspot.runtime.VM.disableVersionCheck %OPTIONS%"
57
58:vers_chk
59
60set 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.