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 5957643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:25:49+00:00 2026-05-22T18:25:49+00:00

From what I can understand, on Mac OS X, daemon is something running in

  • 0

From what I can understand, on Mac OS X, daemon is something running in the background (same as Windows Service). Can I make the connection between daemon by saying that a dameon written in Java is considered to be a JVM? I read some where people mentioned about daemon thread and jvm thread, how are they related?

  • 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-22T18:25:50+00:00Added an answer on May 22, 2026 at 6:25 pm

    No. A JVM — Java Virtual Machine — is the executable that runs your java program. A daemon is any program that runs without being attached to a particular terminal, like, oh, launchd.

    So consider running a java program from the command line: the jar file is myapp.jar and you type

     $ java -jar myapp.jar
    

    That starts an executable program at the path /usr/bin/java, which is just a regular program. It just happens to be one that includes the interpreter for java instructions, the “java virtual machine“. It runs and simulates that special abstract java machine, and runs until all the normal threads of the java program terminate. It then returns a return code and ends. Since that java process was launched by the shell, it’s a child program of the shell, and the shell gets back a notice that it completed.

    Now, it’s possible to write a program, for example in C, that creates a process that isn’t owned by a shell; its parent becomes the process with process ID 1, which is called init(1) on most UNIX systems, or launchd on Mac OS/X. A process that is owned by PID 1 runs until it’s either stopped by a shutdown command, or it terminates itself (or crashes.)

    Those processes are called daemons after the more-than-human spirits in Greek mythology. They’re called that because (a) it’s a cute name; (b) they have “supernatural powers” compared to a regular user program; and (c) old time hackers like cute names.

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

Sidebar

Related Questions

When I moved a program from a Mac to this Windows PC, the VC++
I'm due to work on a small application that captures audio from the Mac's
I'm tasked with porting a few apps from a Windows environment to various mobile
Second line of the following is not recognisable by IE6/Windows #header {margin-bottom:3em} html>body #header
I've tried to understand this, and searched SO for similar questions, but I still
Im trying to learn how to set up a Zend framework web application from
as a Mac outsider it seems that two popular programming languages on the Mac
I have Mac OSX 10.5.8 with Xcode installed. I want to avoid MacPorts and
I am findiing it hard to understand what this code is doing. Could someone
Is it really viable to use GCJ to publish server-side applications? Webapps? My boss

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.