This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Why JDK has JRE  RSS feed

 
vivek dhiman
Ranch Hand
Posts: 155
Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

After installation of java,we have 2 folders JDK & JRE under installation directory. Also there is JRE folder inside JDK folder. What is the difference between this inner JRE and Outer JRE??

Thank You.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the JDK's JRE has server version of virtual machine called HotSpot(VM which has JIT compiler) addition to client VM. the outer JRE contains only client version of VM.
coming to your question: I think it makes sense to put jre into developer kit, so that everything will be under one place. also you can switch between server and client version of JRE at runtime to produce better code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!