Ajit Bansode''s email at 9/19/2007 7:56 AM,
said:> Hi all,
> I want to use dvm provider to trace my netbeans java application.
> I executed following commands to get dvm on my machine.
>
> bash-3.00# cd dvm/
> bash-3.00# unzip dvm.zip
> bash-3.00# export LD_LIBRARY_PATH_64=/Desktop/ajit/dvm/build/sparcv9/lib
> bash-3.00# export LD_LIBRARY_PATH_32=/Desktop/ajit/dvm/build/sparc/lib
> bash-3.00# export JAVA_TOOL_OPTIONS=-Xrundvmti:all
> bash-3.00# java -version
> Picked up JAVA_TOOL_OPTIONS: -Xrundvmti:all
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
You picked up the options and the JVM didn''t abort (meaning that the
libraries were all accessible). You are good to go.
>
> what else should I do or is it done?
You can do this to see that you are indeed functional:
# dtrace -l -P dvm`pgrep java`
> Also I want to know that what changes should I make in my netbeans
application for get dvm tracing done?
>
Absolutely none. That is the beauty of DTrace + DVM ;)
Thanks,
Jarod