OK, lets see all the thing about platform one by one:
What is Platform?
Platform is broad term which is used for both hardware and software. Platform is a Hardware or/and Software system which runs the software program.
For example Java Platform, Microsoft .NET Platform etc. are Software Platform.
The term Software Platform is used for the program that executes/runs the software program.
Example: Java Platform, Microsoft .NET Platform
The Hardware Platform is used to mainly execute the statement with the processor.
Example of Hardware Platform is Operating system.
The Java Platform
The name Java Platform is given to a software package from Oracle (Original Sun Java) which is used for compiling and running the Java Programs.
Java Platform consists of:
a) Java Runtime Environment (JRE):
The Java Runtime Environment (JRE) is used to run the Java platform on a targeted Operating System.
Java Development Kit (JDK):
The Java Development Kit (JDK) is set of software/API and executable files which is used to compile the Java Program. It also contains JRE for running the compiled program.
Learn Basics of Java: