After the installation of the Java JDK, why do I need to install the JRE

Ali.Mojtehedy

The JDK contains the JRE, but even after installing the JDK and setting JAVA_HOME, whenever I test Java using webstart or the Java test page, it says that Java is not installed. Do I need to install the JRE?

Ali.Mojtehedy

Ok ,Thanks for a_horse_with_no_name I found that , the reason is because JRE is not just by Oracle, there could be vendor JREs like Weblogic uses JRockit JRE. And to separate development environment JRE from run time execution oracle installation is not getting last installation JRE as home JRE and public . Plus The public JRE installation uses Registry entries; to run java base apps the private one doesn’t.

In development face also user may use stack trace or dump memory isolated from public one. The class version exception also may occur in update public JRE when jdk is newer. Either we can set private from command line during installation such

 jdk.exe /s ADDLOCAL="ToolsFeature,SourceFeature,PublicjreFeature"

Earlier version may has public installation shows after installing JDK.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Do I need to install Java plugins for Eclipse Neon if I already have JDK and JRE installed?

From Dev

What do I need to install after minimal Xubuntu installation

From Dev

Why after installing Android Studio on Windows 10 I don't need to install JDK? Is it already there?

From Dev

How do I make java default to a manually installed JRE/JDK?

From Dev

How do I update Oracle Java (JDK and JRE)

From Dev

Install Java JDK and JRE on Debian 8

From Dev

Install Java JDK and JRE on Debian 8

From Dev

I installed JRE and JDK 8, but in Eclipse it shows Java/JavaVirtualMachines/1.6.0 JDK. What to do?

From Dev

Do I need to install Glassfish in the Java directory?

From Dev

Do I Really need to install homebrew to install rails and why?

From Dev

Why does Java 7 fail to Verify after successful JRE installation - Java 7 not running my any browser

From Dev

Why does Java 7 fail to Verify after successful JRE installation - Java 7 not running my any browser

From Dev

Do I need Java JDK for using Android Studio?

From Dev

What version of JRE I need to compile with JDK 13.0.2?

From Dev

Maven installation issues: JAVA_HOME should point to a JDK not JRE?

From Dev

I can't install JRE and JDK on my Ubuntu 18.04 LTS

From Dev

When/why do I need to make/install linux headers?

From Dev

Why do I need to install Realtek or Intel Graphics Driver software?

From Dev

When/why do I need to make/install linux headers?

From Dev

If the file is executable, why do I need to install some dependencies?

From Dev

Why do I need to install packages that are "automatically installed with Anaconda"?

From Dev

Why do I not need to provide a return value after an endless loop?

From Dev

Why do I need a Semi Colon after a list

From Dev

Why do I still need to run shutdown as sudo after this?

From Dev

Why do I need classify Data after clustering?

From Dev

Why do i need another $() after using .children for .modal to work

From Dev

Why I do not need semicolon after some of Oracle SQL commands?

From Dev

Why Java installs a JRE when a JDK is being installed

From Dev

Why do I need to cabal install cabal-install in every new sandbox?

Related Related

  1. 1

    Do I need to install Java plugins for Eclipse Neon if I already have JDK and JRE installed?

  2. 2

    What do I need to install after minimal Xubuntu installation

  3. 3

    Why after installing Android Studio on Windows 10 I don't need to install JDK? Is it already there?

  4. 4

    How do I make java default to a manually installed JRE/JDK?

  5. 5

    How do I update Oracle Java (JDK and JRE)

  6. 6

    Install Java JDK and JRE on Debian 8

  7. 7

    Install Java JDK and JRE on Debian 8

  8. 8

    I installed JRE and JDK 8, but in Eclipse it shows Java/JavaVirtualMachines/1.6.0 JDK. What to do?

  9. 9

    Do I need to install Glassfish in the Java directory?

  10. 10

    Do I Really need to install homebrew to install rails and why?

  11. 11

    Why does Java 7 fail to Verify after successful JRE installation - Java 7 not running my any browser

  12. 12

    Why does Java 7 fail to Verify after successful JRE installation - Java 7 not running my any browser

  13. 13

    Do I need Java JDK for using Android Studio?

  14. 14

    What version of JRE I need to compile with JDK 13.0.2?

  15. 15

    Maven installation issues: JAVA_HOME should point to a JDK not JRE?

  16. 16

    I can't install JRE and JDK on my Ubuntu 18.04 LTS

  17. 17

    When/why do I need to make/install linux headers?

  18. 18

    Why do I need to install Realtek or Intel Graphics Driver software?

  19. 19

    When/why do I need to make/install linux headers?

  20. 20

    If the file is executable, why do I need to install some dependencies?

  21. 21

    Why do I need to install packages that are "automatically installed with Anaconda"?

  22. 22

    Why do I not need to provide a return value after an endless loop?

  23. 23

    Why do I need a Semi Colon after a list

  24. 24

    Why do I still need to run shutdown as sudo after this?

  25. 25

    Why do I need classify Data after clustering?

  26. 26

    Why do i need another $() after using .children for .modal to work

  27. 27

    Why I do not need semicolon after some of Oracle SQL commands?

  28. 28

    Why Java installs a JRE when a JDK is being installed

  29. 29

    Why do I need to cabal install cabal-install in every new sandbox?

HotTag

Archive