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.
No, the JDK includes the JRE.
It is working, so you may have made an error, or your JRE/JDK version is too old, or whatever else.
You can download the Sun Java JRE Version 1.5.0_09 Here: http://java.sun.com/products/archive/j2se/5.0_09/index.html
it is a ducks beak that is used to vomit out fish
Generally you don't need to update your JRE/JDK to the latest version, but these updated versions do contain bug fixes and additional benefits that you should take advantage of when you can.
No, the JDK includes the JRE.
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.
It is working, so you may have made an error, or your JRE/JDK version is too old, or whatever else.
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.
/usr/java/<jdk>/jre/lib/
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'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/
You can download the Sun Java JRE Version 1.5.0_09 Here: http://java.sun.com/products/archive/j2se/5.0_09/index.html
It means you have not installed jdk and jre in your machine...
it is a ducks beak that is used to vomit out fish
JDK 7