hotjava
or java
from.
The stack dump information will appear in the shell window.
If Control-\ doesn't work,
use the ps
and kill
commands instead.
The Java stack dump will most likely be displayed in the console window.
%ps -ax | grep hotjava 1920 pts/2 S 0:00 grep hotjava 1902 ? S 0:37 /usr/local/java/bin/../bin/sun4/java hotjava.we %kill -QUIT 1902
dbx
debugger installed.
First, you must find out
where the java
executable file for your architecture is.
This file is one directory below the java
script file.
You can get it by inserting the directory for your machine's architecture
(such as '/sun4')
after 'bin' in the string that 'which java' returns.
For example, if 'which java'
returns '/usr/local/java/bin/java',
then the java
executable file for the sun4 architecture
is /usr/local/java/bin/sun4/java.
Now you get the C stack dump by running dbx
,
specifying the java
executable file and the core file,
as shown below.
%dbx /usr/local/java/bin/sun4/java core (dbx) where
Send your comments or questions to java@java.sun.com