• 'javac' is not recognized as an internal or external command, operable

    From Peter Percival@21:1/5 to All on Wed Sep 11 22:06:39 2019
    I have just installed JDK version 12.0.2. How do I get Windows 10 to
    find the commands javac and java?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eric Sosman@21:1/5 to Peter Percival on Wed Sep 11 17:40:29 2019
    On 9/11/2019 5:06 PM, Peter Percival wrote:
    I have just installed JDK version 12.0.2.  How do I get Windows 10 to
    find the commands javac and java?

    For javac (et al.), make sure your PATH includes

    C:\Program Files\Java\jdkxxxx\bin

    where "xxxx" is the folder corresponding to the JDK version. (If you've installed to an unusual location you may need something other than "C:",
    and if you're using a 32-bit version -- does 12 still support 32-bit? --
    you'll need "Program Files (x86)".

    The kit ordinarily takes care of getting java itself onto your
    path -- but maybe it only does so if you enabled "Public JRE" during
    the installation. If you need to set it up manually (using the JRE's
    internal Java), add

    C:\Program Files\Java\jdkxxxx\jre\bin

    to the PATH (same adjustments as before).

    Good luck!

    --
    esosman@comcast-dot-net.invalid
    Four hundred ninety-seven days to go.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Percival@21:1/5 to Eric Sosman on Wed Sep 11 23:42:12 2019
    Eric Sosman wrote:
    On 9/11/2019 5:06 PM, Peter Percival wrote:
    I have just installed JDK version 12.0.2.  How do I get Windows 10 to
    find the commands javac and java?

        For javac (et al.), make sure your PATH includes

        C:\Program Files\Java\jdkxxxx\bin

    where "xxxx" is the folder corresponding to the JDK version.  (If you've installed to an unusual location you may need something other than "C:",
    and if you're using a 32-bit version -- does 12 still support 32-bit? -- you'll need "Program Files (x86)".

        The kit ordinarily takes care of getting java itself onto your
    path -- but maybe it only does so if you enabled "Public JRE" during
    the installation.  If you need to set it up manually (using the JRE's internal Java), add

        C:\Program Files\Java\jdkxxxx\jre\bin

    to the PATH (same adjustments as before).

        Good luck!

    Thank you.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Juhani Ylikoski@21:1/5 to Peter Percival on Wed Sep 18 16:42:06 2019
    On 9/12/19 1:42 AM, Peter Percival wrote:
    Eric Sosman wrote:
    On 9/11/2019 5:06 PM, Peter Percival wrote:
    I have just installed JDK version 12.0.2.  How do I get Windows 10 to
    find the commands javac and java?

         For javac (et al.), make sure your PATH includes

         C:\Program Files\Java\jdkxxxx\bin

    where "xxxx" is the folder corresponding to the JDK version.  (If you've
    installed to an unusual location you may need something other than "C:",
    and if you're using a 32-bit version -- does 12 still support 32-bit? --
    you'll need "Program Files (x86)".

         The kit ordinarily takes care of getting java itself onto your
    path -- but maybe it only does so if you enabled "Public JRE" during
    the installation.  If you need to set it up manually (using the JRE's
    internal Java), add

         C:\Program Files\Java\jdkxxxx\jre\bin

    to the PATH (same adjustments as before).

         Good luck!

    Thank you.


    yes, aye, you are correct that this is something of a flaw in the Java distribution.

    DL AJY
    HKI, the EU

    https://www.dropbox.com/sh/j8ql5htp86dfpa8/AAAiAlwlJ7xkb5n0s6Cb_RPJa?dl=0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)