I used to have JRE 7 before, and now I installed JDK 8 and deleted my JRE 7 folder. I'm using Eclipse Kepler, and I added JDK 1.8 to my installed JRE's. Can I delete the JRE 1.8 folder as it's taking up space in my computer? Will it cause any problems?
The JDK includes the JRE, so you do not have to download both separately. If you need the JRE on a server and do not want the ability to run RIAs, download the Java SE Server JRE.
And no, you don't need to create your own JRE. Just install the OpenJDK on the client machines and make sure you add the $JAVA_HOME/bin to the system path, just as you had to do with old JREs.
It is capable of creating and compiling programs. Usually, if you only care about running Java programs on computer you will only install the JRE. It's all you need. On the other hand, if you are planning to do some Java programming, you need to install the JDK instead.
Java Development Kit (JDK) is a software development environment used for developing Java applications and applets. It includes the Java Runtime Environment (JRE), an interpreter/loader (Java), a compiler (javac), an archiver (jar), a documentation generator (Javadoc), and other tools needed in Java development.
JRE is a part of JDK.
No need to have JRE when you have JDK. If you open JDK folder and see, you'll have JRE folder inside it which is the same of JRE folder initially you have.
As all have said that JDK includes JRE, that is perfectly right.
But let me add more on it to fulfill an industrial Structure.
While an employee works on some project, they need JDK for they need to write code as well as compile it. But after the development process completes, the software is ready to deliver and the client's machine will have to choose whether JDK is needed or the JRE.
I would recommend to install JRE on clients' machines because clients don't have to compile the code. Clients always goes straight forward to execute it.
So, make sure to install JRE on clients' machines, not JDK. It will give the advantage of Memory - Utilization
too.
Thanks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With