Meaningless Drivel is fun!
The moose likes Beginning Java and the fly likes JDK and JRE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JDK and JRE" Watch "JDK and JRE" New topic


Raghu Devatha
Ranch Hand

Joined: Feb 10, 2009
Posts: 39
What is the difference between JDK and JRE. ?

Suppose I created an application and compiled to MyApp.class. How would the person use that, using JDK or JRE?

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15000

This is a simple "what is ..." question. Such questions are answered the quickest and the best by doing a search instead of asking the question on a forum. This question has been asked many times before.

I literally copied your question into Google and it found approximately 28.300 answers for me in a fraction of a second.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: JDK and JRE
It's not a secret anymore!