view tools/javap.in @ 6:dc6721b486c7

Add javap support.
author gnu_andrew@member.fsf.org
date Mon, 03 Dec 2007 21:07:30 +0000
parents
children
line wrap: on
line source

#!/bin/sh

## Copyright (C) 2007 Andrew John Hughes
##
## This file is a part of IcePick.
##
## IcePick is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or (at
## your option) any later version.
##
## IcePick is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with IcePick; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
## USA.
##
## A simple shell script to launch the javap tool.

prefix=@prefix@
datarootdir=@datarootdir@
tools_dir=${prefix}/lib
tools_cp=${tools_dir}/tools.jar

exec @VM_BINARY@ -Xbootclasspath/p:"${tools_cp}" sun.tools.javap.Main "$@"