Date: Mon, 30 Apr 2007 03:06:48 +0100 From: "Dominic Bishop" <dom@bishnet.net> To: <freebsd-java@freebsd.org> Subject: diablo-jdk and jmap etc tools Message-ID: <20070430023320.5342813C457@mx1.freebsd.org>
next in thread | raw e-mail | index | archive | help
I'm currently trying to analyse memory usage etc in some java applications running on FreeBSD and whilst googling came across mention of tools such as jmap, jstack and so on in the JDK distribution. I cannot however get any of these to work, I set my JAVA_HOME environment to the jdk dir but still get the following error with all of them (or equivalent error anyway): %jmap Exception in thread "main" java.lang.NoClassDefFoundError: sun/jvm/hotspot/tools/Jmap Have I forgotten to do something or is it just the case that these tools are non-functional on FreeBSD. I did briefly browse the JDK jars on the machine and couldn't actually find the class it is looking for, or the equivalent ones for other tools like jstack, jsadebug etc which fail with similar messages. System is: FreeBSD 6.2-RELEASE-p3 i386 diablo-jdk-1.5.0.07.01_3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070430023320.5342813C457>