Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Juhani Ylikoski Newsgroups: comp.lang.java.help Subject: Re: 'javac' is not recognized as an internal or external command, operable program or batch file. Date: Wed, 18 Sep 2019 16:42:06 +0300 Organization: A noiseless patient Spider Lines: 38 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 18 Sep 2019 13:42:06 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="0ffe621b48c5047482f90385fba29a62"; logging-data="28382"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194B1jHeXPsHPTFxEGxn8kdEYti3z+jdwo=" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 Cancel-Lock: sha1:OaIAhzVPGkXy2iKU/xWS/17SgQ0= In-Reply-To: Content-Language: en-US Xref: csiph.com comp.lang.java.help:4309 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