Difference between JDK, JRE, JVM
Answer Posted / tarun
JDK : JDK contails JRE and JVM both. JDK is required to
complie. JDK contains of many .exe supporting files and
javac, javap, java,javaw, javaws ,all these are helping to
compile the java programs. If we have to compile our own
written java program JDK should be define in our classpath.
after compilation it converts the code into the bytecode.
JRE : JRE is needed for run time environment. It contains JVM.
JVM : Java Virtual Machine converts the bytecode into user
understandable code. without JVM we cannot run our Java
codes on any system. JVM converts the bytecode got after
compilation into machine level code by understanding the
hardware and operating system combination.
| Is This Answer Correct ? | 35 Yes | 11 No |
Post New Answer View All Answers
What is skeleton and stub?
What is a line break?
How do you define a set in java?
What are the java ide’s?
Is there any way to find whether software installed in the
system is registered by just providing the .exe file?
I have tried the following code but its just displaying the
directory structure in the registry.
Here the code :
package com.msi.intaller;
import java.util.Iterator;
import ca.beq.util.win32.registry.RegistryKey;
import ca.beq.util.win32.registry.RootKey;
public class RegistryFinder {
public static void main(String... args) throws Exception
{
RegistryKey.initialize(RegistryFinder.class.getResource("jRe
gistryKey.dll").getFile());
RegistryKey key = new RegistryKey(RootKey.HKLM,
"Software\\ODBC");
for (Iterator
Differentiate between array list and vector in java.
how to write a program for sending mails between client and server
What about main() method in java ?
What is fundamental datatype?
Can we define constructor in inner class?
can rmi and corba based applications interact ?
What will happen if static modifier is removed from the signature of the main method?
What is difference between equals and hashcode method?
what is method reference in java 8?
Explain about interrupt() method of thread class ?