Question: is jdk and jre platform dependent?
Answer: JVM, JRE and JDK are platform dependent because configuration of each OS differs. But, Java is platform independent. The Java Runtime Environment (JRE) is part of the Java Development Kit (JDK). It contains set of libraries and tools for developing java application.