Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install the VisualVM plugin for eclipse, on my Ubuntu linux.

I'm following the instructions here.

So I've done the installation part, and the plugin is installed to eclipse.

Now for the configation, I need to enter the path to the executable.

Any idea of where this would be?

I've looked at /bin/ there's no file named visualvm or anything similar. And there's just jar files in the extracted download.

share|improve this question
    
Where did you install VisualVM? – Michael Hampton Dec 4 '12 at 0:17
    
I used the eclipse 'install software' option and pointed it at the extracted folder. – user1068446 Dec 4 '12 at 0:43
up vote 1 down vote accepted

Just installing the launcher doesn't actually install VisualVM. They are separate products.

share|improve this answer
1  
It would be interesting to have the real answer to the question ... where is the exec? – Rafael Jan 22 '15 at 11:23
    
visualvm\bin\visualvm.exe or visualvm/bin/visualvm depending on your operating system – Sha Aug 25 '15 at 11:50

Try using the find command, like so, or similar.

sudo find / -exec grep "*visualvm*" {} \; -print

Also, look in /usr/bin, /usr/lib, and even ~/workspace/.metadata/.plugins.

I don't use Eclipse myself, but I have a distant memory from when I did.

share|improve this answer

You need to have the jdk installed.

On ubuntu, and probably other too the binary will be:

/usr/lib/jvm/java-8-oracle/bin/jvisualvm

You have to adapt the version of course

share|improve this answer

NOTE: Currently, if the VisualVM path is missing, starting a run of your code with the VisualVM launcher will show:

An internal error occurred during: "Launching [main class]". java.lang.NullPointerException

To fix this, go to: Properties->Run/Debug->Launching->VisualVM Configuration and fill in the "VisualVM Executable" box with the correct path.

The executable path will be [path into folder where you extracted contents of your VisualVM download]\bin\visualvm.exe or .../bin/visualvm, depending on your OS (as Sha commented).

If you cannot find this path in your system, it's likely because you've only installed the VisualVM Launcher, but not the VisualVM itself (as M.Hampton mentioned).

You can get VisualVM from here: http://visualvm.java.net/download.html#first_steps (don't click the Eclipse IDE integration 'cause that's just gonna take you to the launcher again).

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .