Age old question. :)
Simply Put:
- If you need to execute any java program you need JRE (as the name says "Runtime Env").
- If you need to compile some java code you ll need JDK (as the name says "Development Kit").
One more thing to be noted is JRE will always be shipped with JDK because as I mentioned earlier JDK compiles the code, so if you want to execute the compiled code you need JRE.
Hope this helps.
.
The "JDK" is the Java Development Kit. I.e., the JDK is bundle of software that you can use to develop Java based software. The "JRE" is the Java Runtime Environment. I.e., the JRE is an implementation of the Java Virtual Machine which actually executes Java programs.
Typically, each JDK contains one (or more) JRE's along with the various development tools like the Java source compilers, bundling and deployment tools, debuggers, development libraries, etc.
There is no specific/separate servlet development kit. Servlets can be developed and compiled using the standard JDK and JRE. The only difference being the fact that - to run them you need a web server
what is difference between dynamic and volumatic compressor
what is difference between mild steel and stainless steel
Both are same no difference Both are same no difference
difference between von neumann and harvard machine
No, the JDK includes the JRE.
There are two main things you can download for Java: the Java Runtime Environment (JRE) and the Java Development Kit (JDK). The JRE is used by those who wish only to run Java programs. In order to do this it uses the Java Virtual Machine (JVM) to run Java bytecode. The JDK is used by developers and contains both the JRE and the programs and libraries needed to compile and run Java programs. Simple summary: The JDK contains the JRE which contains the JVM.
No, not necessarily. JDK stands for Java Development Kit and JRE stands for Java Runtime Environment. They can be of the same or different versions each. It is better if we have two compatible or same versions of JDK and JRE installed for ease of use.
First of all, JDK is Java Development Kit and JRE is java runtime Environment. JDK provides compiler and all the necessary tools to write the code verses JRE provides with the environment in which the java code will run.
JVM Stands for Java Virtual Machine. JVM is the virtual machine in which a java program gets executed. JRE stands for Java Runtime Environment. JRE is the runtime set up that is required by the JVM to execute java programs. JDK stands for Java Development Kit. JDK is the basic software that gets downloaded from sun's java website if anyone wants to use java.
/usr/java/<jdk>/jre/lib/
There's only the JRE and JDK. the JRE (Java Runtime Environment) is equipped with the basic necessities a client (read: the average home user or business/office employee) computer would need. The JDK (Java Development Kit) contains the JRE plus development tools (i.e. libraries) for software developers to get started to writing applications with Java.
The JVM is part of the JRE (Java Runtime Environment) or the JDK (Java Developer Kit). Both the JDK and JRE are packages available from a variety of sources. The most common one is available from Sun (now Oracle). You simply visit the web site, and it will then download and install the JRE for you after you answer a couple of questions: http://www.java.com/
jdk 1.4 not hve for each regulear expression exception changing
It means you have not installed jdk and jre in your machine...
it is a ducks beak that is used to vomit out fish
JDBC comes as part of the standard JDK & JRE set up.