Differences between jdk and jre
can anybody explain the differences between jdk and jvm. and relation between jdk, jre and jvm.
thanks
Hi,
JDK- Java Development Kit contains compiler and other appliction development tools. with this tool you can compile as well as run your application
JRE-Java runtime Environment where Java applications are exceuted .You can only run your application here but you cant develop and compile.
JVM-Java Virtual Machine Its interpretor which interprets and then executes you coded after it is compile ( to byte code) by Java Compiler.
Similar Messages
-
What is the difference between jdk and jre
what is the difference between jdk and jre
plzz tell me in detailIt's an extremely important skill to learn how to search the web. Not only will it increase your research and development talents, it will also save you from asking questions that have already been answered numerous times before. By doing a little research before you ask a question, you'll show that you're willing to work and learn without needing to have your hand held the entire time; a quality that is seemingly rare but much appreciated by the volunteers who are willing to help you.
If you've done the research, found nothing useful, and decide to post your question, it's a great idea to tell us that you've already searched (and what methodologies you used to do your research). That way, we don't refer you back to something you've already seen.
To get you started, here is an excellent resource: The Java� Glossary -
Whatz the difference between jdk and jre
i would like to know the difference between jdk and jre.
Yes JRE is Java Run Time Environment. The java programming language adds the portability by converting the source code to byte code version which can be interpreted by the JRE and gets converted to the platform specific executable ones. Thus for different platforms one has corresponding implementation of JRE. But JRE has to meet the specification JVM (Java Virtual Machine) Concept that serves as a link between the Java libraries and the platform specific implementation of JRE. Thus JVM helps in the abstraction of inner implementation from the programmers who make use of libraries for their programmes.
The JDK(Java Developmental Tool kit) comes along with java libraries and JVM embedded in it. Apart from these it comes along with the utility tools for byte code compilation "javac", Executing the byte codes through java programmes through "java" and many more utilities found in the binary directory of java. Speaking practically JDK is essential for developers, which comes along with library packages to develop Software programmes. While JRE is minimal set of programmes which executes the java class files developed by the software developers. -
Major Difference between JDK and JRE
Hi Support,
Major Difference between JDK and JRE
can you please distinguish between these two ,
Thanks860707 wrote:
Hi Support,This isn't 'support' it's a forum.
Major Difference between JDK and JREYes, there is.
can you please distinguish between these two ,
Here.
db -
Difference between jdk and jre...
Hi, I installed java (jdk1.6.0_03) and i got 2 folders in my pc with names jre1.6.0_03 and jdk1.6.0_03.
I don't know what are those. And while installing Tomcat5.0 it take the default path for jre1.6.0_03 and worked properly.
pls help me .......JRE = Java Runtime Environment.
It's basically the implementation for your PC of the Java Virtual Machine (JVM) which is the software emulated processor that Java code runs on.
JDK = Java Development Kit
It's the JRE plus the compiler tools to allow you to write code.
Old versions of Tomcat needed the JDK because JSPs get converted into Java Servlet source code which is compiled into class files and run on the JVM. Newer versions of Tomcat only need the JRE because Tomcat now has its own compiler (implemented in Java) built in.
So since Tomcat's working, I don't think you have much to worry about :-)
Edited by: dcminter on 03-Jun-2008 10:28 -
Difference between JDK ,SDK ,JRE
Hi all,
Im confused about the difference between JDK ,SDK ,JRE.What all is needed to install Java.Please elaborate.Even on Venus. ;)
Goddess on the mountain top
Burning like a silver flame
The summit of beauty and love
And Venus was her name
She's got it
Yeah, baby, she's got it
I'm your Venus, I'm your fire
At your desire
Well, I'm your Venus, I'm your fire
At your desire -
What are the differences between jdk and sdk
what are the differences between jdk and sdk?? thanks
Just marketing whims.
SDK = software development kit
JDK = Java development kti
Sun has use both names to refer to its SDK for Java. I forget which one they're using now, but they've switched a couple of times. -
What is the difference between JDK and J2ee
Could someone explain, in simple terms, what is the difference between JDK and J2ee. I am trying to understand the difference.
THanksCould someone explain, in simple terms, what is the
difference between JDK and J2ee. I am trying to
understand the difference.You can practice on this one first. What's the difference between chalk and cheese? No just kidding.
A JDK is a set of tools for Java development including compiler, runtime system and standard libraries. J2EE is the enterprise version of the Java technology platform (it's one of three). To use it you download the proper JDK's. -
What is the difference between jdk and jsdk
I don't know the difference between jdk and jsdk,if i had set up the jdk,could i develope the servlet.
For servlets you need J2EE classes, which are in what is usually called JSDK (Java Server Development Kit). So, you cannot compile servlets with just the JDK installed, you need to download the J2EE SDK.
-
Difference between JDK and J2SDK ?
Hi
I am a novoice in Java. Please tell me the diff between JDK AND J2SDK ?Hi
I am a novoice in Java. Please tell me the diff
between JDK AND J2SDK ?They are about the same. Sun likes to change the name
from time to time. The SDK might contain Netbeans as
well.
KajActually, they are exactly the same. You can download a bundle that contains the JDK and Netbeans, but I wouldn't consider Netbeans to be part of the JDK.
Sun has been pretty bad about naming things for years. While they are not exactly the same thing, SunOS 5.8, Solaris 2.8, and Solaris 8 all basically mean the same thing.
The J2SDK/JDK distinction is just one of those lingo things that you pick up on at some point. -
What is the difference between JVM and JRE and JDK?
Hi , I want to know what actually is JVM,JRE and JDK ? and the difference between them?
They should at least try. When it comes to
terminology, if they can find this site, they should
be able to find google, wikipedia, etc. It's
reasonable to expect them to try there first, and
then, if they still have questions, post here,
indicating what they looked at and how it fell short,
what they're still confused about, etc.Perhaps this is a valid point.
I believe physical JVM hardware has also been
manufactured. I wonder what we'd call that? A JPM
(Java Pysical Machine)?No. It is simply a hardware implementation of the abstract Java Virtual Machine.
.class files are executed by software (in fact,the
software that executes the .class files is calledthe
JRE and is short for the Java
Runtime Environment). The JavaRuntime
Environment is a native program (i.e. it is run by
hardware) which provides the ability to executejava
bytecodes (.class files)That's the JVM.No it's not. The JVM is an abstract architecture.
The JRE is the JVM plus native libraries plus core
API Java classes.The JRE is an implementation of the JVM along with some additional facilities. The JVM may be used to describe concrete implementations in industry vernacular, but this is not a technically accurate usage of the term per the specification and is therefore incorrect.
From the preface to the Java Virtual Machine Specification, Second Edition, viewable at http://java.sun.com/docs/books/jvms/second_edition/html/Preface.doc.html:
"The Java virtual machine is an abstract machine."
From Wikipedia (http://en.wikipedia.org/wiki/JVM):
"A Java Virtual Machine (JVM) is a set of computer software programs and data structures which implements a specific virtual machine model."
Perhaps this misconception is the source of the confusion. This is one reason why I answered deepakorsun rather than refer him to somewhere else: anywhere that would be reliable and/or completely accurate would be too dense to readily understand, and anywhere understood easily enough might not be completely accurate.
>
The Java Development Kit (JDK) just provides the
facilities necessary to write programs that willrun
on the Java Virtual Machine. It contains acompiler
It also contains tools such as jar and javap, the API
docs for the core API classes, the source code for
the API classes, probably a few other things, and
generally the JRE (though I'm not sure if that's
officially a required part of the JDK).I never said it didn't contain jar, javap, javac, java, jdb, jconsole, or any of the other programs or resources shipped with jdk. I simply stated affirmatively something it did contain. As I implied before, technical comprehensiveness is exactly what makes resources such as the JVM specification almost unusable for answering questions like this. That is why I omitted such details in my description. And since we're being all technical here, the API documentation does not ship with the Java Development Kit (at least not as of JDK 5.0), it is a separate download. It is the core API source files that ship in a .zip file with the JDK.
Don't get me wrong, I do understand that you have probably seen a lot more people come and go from these forums than I may ever understand and that you have helped more people than you can remember, and I don't mean to disrespect that. I understand that dealing with so many people over such a long period of time and hearing the same questions over and over again can probably start to wear on your patience, but I don't think the right approach is to treat anyone that tries to help them with utter contempt and sarcasm. That's not constructive or useful to anyone. I understand why you would be upset if somebody was purposely trying to be lazy, I probably would be too, but you have no real way of determining whether or not they are being lazy or just don't know something and don't know how to figure it out for themselves so they are asking a question. And if they are honestly just asking a question in good faith and looking up the answer on Wikipedia just did not occur to them (or they couldn't understand what it said), yet they somehow ended up on this site, they have done nothing wrong and there is no reason to get angry at them.
Oh come on, that wasn't nice. Not everybody isable
to answer their own questions. WTF are you talking about?!? Why waste the time to
type something out when they can click on a link and
find 1000 times more information than you can fit
into one post? Either way - they're
STILL going to have to read the
information themselves...
Ridiculous.So I suppose you've either read the Java Virtual Machine Specification, the Java Language Specification, and the Java Native Interface Specification in their entireties, or absolutely nothing about programming in Java. This is because, by your reasoning, these three books contain 1000 times more than anyone can fit on a tutorial, Wikipedia entry, mailing list, forum, blog, or anything else.
Criticizing somebody who isn't doing something the exact way you think it should be done is often quite idiotic and non-constructive. I believe this is this case here. Please post something more useful, meaningful, and/or polite next time. And just for future reference, yelling at a beginner does not help them learn faster or better. It just makes them hate you.
Oh come on, that wasn't nice. Not everybody isable
to answer their own questions. Java terminologycan
be confusing and difficult to understand in part
because of all the acronyms used and all the name
changes undergone by the various development kitsand
platforms.Point taken. You have much more patience than
I, but with lots of intensive therapy and proper
adjustment of my medications, I may get better.Thank you for this post. A display of wisdom and patience. You single handedly caused me to reconsider participating in a flame war. -
Difference between JDK and SDK
Hi,
I would like to know the difference between the JDK and Java 2 SDK.
Please clarify. Thanks in advance!New thread created for this question:
Database Connectivity -
Difference between JVM and JRE
Hi,
can anyone tell me if there is a difference between a JVM and a JRE?
I'm trying to use Excelsior JET to make windows executables from java classes. The documentation says that with JET you dont need the JVM but reading between the lines I think you do still need the Java JRE.
Are these different or the same thing?
Cheers,
JimJRE = JVM + classes and libs.
-
Difference between JDK and JavaSE
Can anyone briefly explain the terminologies JDK, JavaSE and JRE.
Also, please provide any nice links if you have.
Thanks in advance
AneesJava SE is just the general term for the [Standard Edition of Java|http://java.sun.com/javase/] . That is, it's for general development and not specialized for Enterprises or Mobile platforms, etc.
The JDK is the [Java Development Kit|http://en.wikipedia.org/wiki/Java_Development_Kit] , that allows developers to create Java programs. Most end-users don't ever use/ have any knowledge of the JDK. There's a JDK for all versions of Java, no just JavaSE.
The JRE is the [Java Runtime Environment|http://en.wikipedia.org/wiki/Java_Virtual_Machine] (A.K.A. JVM), designed just for running programs written in Java. It doesn't include the development tools like the compiler, to save space and because you don't need these tools just to run a program.
Hope that helps. -
What is the difference between JVM and JRE
hello everyone,
a funny but really confusing question is that how a virtual machine is different from a runtime environment.
some may argue that RE contains the API classes and implementations etc. but i need some real picture of what is the actual difference and anything related to this topic.
thanks,
waiting for your responses :-)The Java Virtual Machine forms part of a large system, the Java Runtime Environment. Each operating system and CPU architecture requires a different JRE.
The JRE comprises a set of base classes, which are an implementation of the base Java API, as well as a JVM.
Maybe you are looking for
-
No longer able to access Web Management after Firmware Update [SF200]
Hello! Today I was attempting to set up SNMP on our SF200-48 switch. I realized we were running old firmware which does not support SNMP and that the most current version (1.4.0.88) does support it. I attempted to upgrade the firmware but it failed,
-
Planned Cost not coming for CO Activity in PM Order
Dear All, I am putting up the entire configuration process i am carrying out for CO activity and using it in the PM Order. Please see the link and guide me through as to why the Planned Cost for the Activity is mssing. http://www.scribd.com/doc/21375
-
How often do Background App Refreshes occur in iOS 7?
In iOS 7, some apps can now update their data even when the app is not open. This feature is called "Background App Refresh". How often does each app update their content using this method? Is it up to the app to determine the frequency, or does iOS
-
CSS stylesheet and SWF works for Mac but not PC.
PC converts stylesheet to notepad. Can't figure out how to fix the problem.
-
Photos and iBook not syncing after installing ios 6
I installed iOS 6 and now photo stream isn't working and book marks aren't syncing between my iPhone 4 and iPad 2. I checked the setting they should be working anybody have any idea?