Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6554517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:42:35+00:00 2026-05-25T12:42:35+00:00

I am doing some Java development on Windows 7 x64 running inside VMWare Fusion

  • 0

I am doing some Java development on Windows 7 x64 running inside VMWare Fusion 3.x (OSX). I have installed JDK6 (update 26), set JAVA_HOME to the path (no trailing slash), and restarted my command prompt.

I can successfully launch the program. During startup it runs the calibration and then fails with this error:

“Could not create directory\VMWare-host\Shared Folders\ .nbprofiler” (no space after that slash but the markup was hiding the period)

I can click to continue, but when I’m in the program I cannot do CPU or Memory profiling. I throws up a similar error box:

“Error retrieving saved calibration data for target JVM: Could not create…(same as earlier)”

Once upon a time I had this working by passing the –userdir flag and -J-Dnbprofiler.home during startup, but that trick isn’t working anymore.

(The complete command was:
jvisualvm –userdir c:\Users\myname -J-Dnbprofiler.home=c:\Users\myname
)

How can I force jvisualvm to save its calibration data on a “real” drive instead of the vmware network drive and get this working?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T12:42:36+00:00Added an answer on May 25, 2026 at 12:42 pm

    .nbprofiler directory is derived from user.home system property. I am not sure what you did to Windows installation, but your user.home points to directory\VMWare-host\Shared Folders. So one solution is to fix the Windows installation, so that Java recognize c:\Users\myname as your user home directory. If that fails for some reason you can use nbprofiler.home property to override it, as you correctly wrote. However you should point it to the nonexistent directory, so you should start VisualVM with the following commandline:

    jvisualvm -J-Dnbprofiler.home=c:\Users\myname\nbprofiler --userdir c:\Users\myname\visualvm_userdir 
    

    One last note, even if the profiler part is not working, you should be able to use sampling in the ‘Sampler’ tab.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been doing some java development lately and have started using Eclipse. For
I'm doing some Android development, and I much prefer Visual Studio, but I'll have
I have a java application which doing some logic... ... But the java application
I'm doing some coding in JSP/Java (without any framework, or other strange things) and
I am considering doing some automation of tasks on my Windows desktop (e.g. sorting
I'm doing some routine in Java (1.5)+Swing, that damands some time. How the best
Hey everyone! I am new to blackberry programming although I do have some java
I have a development server running (and serving content) using the built in django
I'm doing some research on blackberry development and I've been looking at the documents
I have been doing web development for more than 4 years. I have worked

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.