Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JVM is part of O/S  RSS feed

 
Niranjan Prasad
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
This is Niranjan.
JVM is part of O/S
This is the reason, why Java got the portability.
When we are installing Java software we are providing the support class for
JVM.
Also every O/S has its own JVM,i.e JVM is not unique as Byte code.
Byte Code is unique.

Niranjan
 
Amol Fuke
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Niranjan,

You are asking a question or what?

JVM is not the part of OS.There are seperate JVMs for each OS.You have to install the JDK as per your OS.
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are correct that the JVM differs between operating systems while the byte code generated from compiling a Java program is the same no matter which OS you compile it on. However, the JVM is NOT part of the OS. In otherwords, when you install Windows, for instance, the JVM is NOT automatically installed. You have to download and install the JVM separately.

Layne
 
Kenneth Albertson
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
People who teach beginning programming often ask their students to answer the question "Is X part of the operating system". Twenty five years ago (before wimp interfaces?) it was probably a reasonable question, which helped students understand what an OS is and does. But today I don't see the value in leading students to believe that this question actually has a meaningful answer.

The first major problem with this question is that, at any point in history, there are some functions provided by all operating systems, and some functions only provided by some. Such as a wimp interface, or networking support, or particular accessories, or even built-in java support. So the question should be, "Is X part of the Y OS, version Z".

The other major problem is that, even for a particular OS, the question does not always have un uncontested answer. After all, fur has been flying for 10 years now because Bill Gates suggested that a web browser should be part of the OS.
[ October 21, 2005: Message edited by: Kym Thompson ]
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I probably worded my response a little too strongly. I should have said that Java is not necessarily part of the OS, but it can be. For desktop computers, it is quite common to download the JVM and install it separately from the OS. However, on phones and handheld devices a JVM is commonly built into the OS or even the hardware.

Layne
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!