Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #4308

Re: 'javac' is not recognized as an internal or external command, operable program or batch file.

From Peter Percival <peterxpercival@hotmail.com>
Newsgroups comp.lang.java.help
Subject Re: 'javac' is not recognized as an internal or external command, operable program or batch file.
Date 2019-09-11 23:42 +0100
Organization albasani.net
Message-ID <qlbt84$1uc$1@news.albasani.net> (permalink)
References <qlbnku$e5e$1@news.albasani.net> <qlbpkh$q33$1@dont-email.me>

Show all headers | View raw


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.

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

'javac' is not recognized as an internal or external command, operable program or batch file. Peter Percival <peterxpercival@hotmail.com> - 2019-09-11 22:06 +0100
  Re: 'javac' is not recognized as an internal or external command, operable program or batch file. Eric Sosman <esosman@comcast-dot-net.invalid> - 2019-09-11 17:40 -0400
    Re: 'javac' is not recognized as an internal or external command, operable program or batch file. Peter Percival <peterxpercival@hotmail.com> - 2019-09-11 23:42 +0100
      Re: 'javac' is not recognized as an internal or external command, operable program or batch file. Juhani Ylikoski <ylikoskia@yahoo.com> - 2019-09-18 16:42 +0300

csiph-web