what are the uses of both,what jdk provides and what jre provides,
and which one have the jvm, to run any .class file on any operating system do we only need of jre.
which one have the
java compiler and which one interpreter.
i am very confused about to take both , please help mr to clear these.