views:

672

answers:

2

Hi, does anyone knows where JConsole is Located in MacOSX (Leopard)?

+2  A: 

Java 6? /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/jconsole

Java 5? /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/jconsole

If you want to find any program or file located on your Mac OS X 10.5 system, you can go to terminal and do it the unix way:

Either:

$ locate jconsole

Or:

$ find / -name jconsole

I prefer the first one 'cause it's faster. It uses a prebuilt index to perform the search.

Pablo Santa Cruz
awesome, thanks!
gansodesoya
A: 

follow-up question: what does one need to do to enable the 'locate' functionality, I always draw the following error:

clelland:~ kent$ locate jconsole
locate: `/var/db/locate.database': No such file or directory

what is wrong? thx

|K<

kent