Hi All (Experts)
I m new to java and come from C ++ / perl background.
Can anyone tell me what exactly is JVM, JRE and when i run a class using java comand, what m i starting. When u say a VM instance, what does that mean ??
I know it must be a very very basic question for u guys, but please help me or giude me to some resources on this.
thnaks
-- shane
-
I m new to Java. Just a simple question (2 messages)
- Posted by: sean decor
- Posted on: August 12 2002 16:13 EDT
Threaded Messages (2)
- I m new to Java. Just a simple question by Travis Kay on August 13 2002 07:59 EDT
- I m new to Java. Just a simple question by sean decor on August 13 2002 17:39 EDT
-
I m new to Java. Just a simple question[ Go to top ]
- Posted by: Travis Kay
- Posted on: August 13 2002 07:59 EDT
- in response to sean decor
Hello shane,
JVM stands for, Java Virtual Machine, which is a java byte code interpreter.
JRE stands for, Java Runtime Environment, which includes the JVM and core Java Runtime Libraries.
When you execute 'java Your_Class' you are invoking the JVM - JRE, which loads / interpretes and runs your classes. Each time you invoke 'java' you are creating a new instance of the JVM to run your program. If you ran 5 programs, they all run in their own JVM.
TK. -
I m new to Java. Just a simple question[ Go to top ]
- Posted by: sean decor
- Posted on: August 13 2002 17:39 EDT
- in response to Travis Kay
Thanks TK.
It was great help. You really answered my question to the point.
One more small doubt - Is it right that when i start java.exe, i basically start JRE and JRE includes the intepreter JVM ?