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

  • SEARCH
  • Home
  • 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 6984833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:36:03+00:00 2026-05-27T18:36:03+00:00

I am struggling to understand the purpose of the Attach API ( com.sun.tools.attach.* ).

  • 0

I am struggling to understand the purpose of the Attach API (com.sun.tools.attach.*). What are its typical uses? Is it to “mock” a JVM so you can test out your code without deploying/launching it, is it a debugger, or does it give you access to the JVM that will run your app once its built and ran?

I think I’m getting hung up on the word attached. I can’t tell if this means “deployed to”, “embedded inside of” or other.

  • 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-27T18:36:03+00:00Added an answer on May 27, 2026 at 6:36 pm

    Its for management agents, debuggers etc… to attach to the JVM. http://docs.oracle.com/javase/6/docs/jdk/api/attach/spec/com/sun/tools/attach/package-summary.html

    e.g. Connect (attach) to a JVM to manage it or interact with it through the debugger.

    Its a com.sun API so its not an official Java API. If you ran another vendor’s JVM it may not have this api at all.

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

Sidebar

Related Questions

I'm using ASP.NET MVC 2 and I'm struggling to understand how can I use
I'm struggling to understand the documentation of sun.misc.Unsafe -- I guess as it's not
I am struggling to understand what is going on in a test I am
Im struggling to understand what going on in the first part of the test.
I´m struggling to understand this concept: I have a fixed size definition: (from http://msdn.microsoft.com/pt-br/library/aa931918.aspx
Still struggling to understand what best practices are with respect to macros. I'm attempting
I'm struggling to understand Dependency Properties in Silverlight 2. Does anybody have a good
I'm struggling to understand something about GIT. We've got a repository with a number
I am really struggling to understand why, when I change my code to use
I'm struggling to understand what precisely does it mean when a value has type

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.