简体   繁体   中英

No application window after VisualVM start

I want to connect to JVM running on remote CentOS 6 server using VisualVM installed on server. I connect to server using ssh with X forwarding:

ssh -X <user@ip>

My ~/.bashrc exports these variables to run VisualVM:

export JAVA_HOME=/usr/local/jdk1.8.0_102/
export PATH="$JAVA_HOME/bin:$PATH"

Then I run VisualVM locating on remote server:

/usr/local/visualvm_138/bin/visualvm

It invokes without errors, but there is no application view appeared (which should appear at application start). Also, there is no Applications sub-item inside Window menu item. I already ran VisualVM successfully using this way about month ago. How to make this window appeared?

Try to delete VisualVM userdir and cache and than restart VisualVM. Userdir is at ~/.visualvm/1.3.8 and cache is at ~/.cache/visualvm/1.3.8

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM