Does JDK also serve as JRE?

Asked 2 years ago, Updated 2 years ago, 33 views

Does JDK also serve as JRE?

I need JRE to run software that requires Java environment, but can't I just install JDK?
I thought JDK had a Java execution environment, but when I tried to open a free software, I got an error saying there was no JRE.

java

2022-09-30 16:57

1 Answers

JDK includes JRE.

If it's Java 8 or earlier, I think (Windows) might be looking at a specific registry or installation path pattern, assuming it's installed by Sun/Oracle installer.
If you don't know the cause, wouldn't it be safe to install the requested one exactly as it is?

Java Platform Standard Edition 8 Documentation:

The JDK 8 is a JRE 8 super set that includes all the features of JRE 8, as well as tools such as the compiler and debugger needed to develop applets and applications.

Enter a description of the image here


2022-09-30 16:57

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.