1
|
1 |
@echo off
|
|
2 |
REM
|
|
3 |
REM Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
|
|
4 |
REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
5 |
REM
|
|
6 |
REM This code is free software; you can redistribute it and/or modify it
|
|
7 |
REM under the terms of the GNU General Public License version 2 only, as
|
|
8 |
REM published by the Free Software Foundation.
|
|
9 |
REM
|
|
10 |
REM This code is distributed in the hope that it will be useful, but WITHOUT
|
|
11 |
REM ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
12 |
REM FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
13 |
REM version 2 for more details (a copy is included in the LICENSE file that
|
|
14 |
REM accompanied this code).
|
|
15 |
REM
|
|
16 |
REM You should have received a copy of the GNU General Public License version
|
|
17 |
REM 2 along with this work; if not, write to the Free Software Foundation,
|
|
18 |
REM Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
19 |
REM
|
|
20 |
REM Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
|
21 |
REM CA 95054 USA or visit www.sun.com if you need additional information or
|
|
22 |
REM have any questions.
|
|
23 |
REM
|
|
24 |
REM
|
|
25 |
|
|
26 |
call saenv.bat
|
|
27 |
|
|
28 |
REM set the environment variable JCORE_PACKAGES to comman separated list of
|
|
29 |
REM packages whose classes have to be retrieved from the core file.
|
|
30 |
|
|
31 |
%SA_JAVA_CMD% -Dsun.jvm.hotspot.tools.jcore.filter=sun.jvm.hotspot.tools.jcore.PackageNameFilter -Dsun.jvm.hotspot.tools.jcore.PackageNameFilter.pkgList=%JCORE_PACKAGES% sun.jvm.hotspot.tools.jcore.ClassDump %1 %2
|
|
32 |
|
|
33 |
|