From 2272edfc0bffad8ab4daae59299cff3614d145e5 Mon Sep 17 00:00:00 2001 From: lyellread Date: Thu, 29 Apr 2021 07:13:08 -0700 Subject: [PATCH] Updating Java Documentation in InstallationGuide.html This adds a mention of installing Java through package manager, which might not need modification of path. Also, it makes more obvious the choice to place the path to Java in the system path, something that I have noticed is often mistaken. Lastly updated the Windows Java Path setup to include the new style of path modification dialog. --- GhidraDocs/InstallationGuide.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/GhidraDocs/InstallationGuide.html b/GhidraDocs/InstallationGuide.html index f7f5b5e72d..39288f8249 100644 --- a/GhidraDocs/InstallationGuide.html +++ b/GhidraDocs/InstallationGuide.html @@ -138,6 +138,11 @@ destination using any unzip program (built-in OS utilities, 7-Zip, WinZip, WinRA the parent directory of Java's bin directory). This minimizes the impact Ghidra has on pre-existing configurations of Java that other software may rely on. +
  • + Depending on your operating system, it may be possible to find and install a supported + version of a Java Runtime and Development Kit through your package manager, without the need to + set the Path environment variables as described below. +
  • If Ghidra failed to run because no versions of Java were on the PATH, a supported JDK should be manually installed and added to the @@ -174,10 +179,11 @@ destination using any unzip program (built-in OS utilities, 7-Zip, WinZip, WinRA
  • Add the JDK bin directory to the PATH variable:

      -
    1. Under System variables, highlight Path and click Edit...
    2. +
    3. Under System variables, highlight Path and click Edit...
    4. At the end of the the Variable value field, add a semicolon followed by - <path of extracted JDK dir>\bin + <path of extracted JDK dir>\bin, or use the New button in the + Edit environment variable window to add a new entry to the Path.
    5. Click OK
    6. Click OK