Posts

Showing posts from February, 2026

understand JRE & JDK ,difference between openjdk-8-jdk-headless & openjdk-8-jdk

Question:-1 ----------- what is the difference between JDK & JRE =============================== JDK stands for java development kit it provides environment  to write java code to compile java code to execute java code JDK -YOU CAN WRITE CODE        YOU CAN COMPILE CODE      YOU CAN EXUECTE CODE JRE --- JRE stands for Java Run Environment  it provides execution environment for java application  JRE -YOU CAN ONLY EXECUTE CODE (TESTING)      or YOU CAN RUN JAVA CODE (TESTING)   QA/STAGING/PROD SERVERS:->We recommend JRE only                          because we run the code only   DEV SERVERS:------------>We recommend JDK only                          developer write code                          com...