Hello guys, It's been a long time that I'm learning java now but I never asked myself the differences between the JRE, the JVM and the JDK. From what I've read, JRE is the run time environment, which means a java program will run on our pc if we have it installed. But since we don't have the JVM yet, it means it's platform dependent ?
Now the JVM, is what makes java platform independent by converting .java file into .class file which has the bytecode in it which will later be interpreted/translated into machine instructions.
For the JDK, from what I read, the JDK include tools like debuggers but it's still vague.
Can someone add on to this and correct any mistake if any pls