Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #4307
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
| Newsgroups | comp.lang.java.help |
| Subject | Re: 'javac' is not recognized as an internal or external command, operable program or batch file. |
| Date | Wed, 11 Sep 2019 17:40:29 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 27 |
| Message-ID | <qlbpkh$q33$1@dont-email.me> (permalink) |
| References | <qlbnku$e5e$1@news.albasani.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Wed, 11 Sep 2019 21:40:33 -0000 (UTC) |
| Injection-Info | reader02.eternal-september.org; posting-host="38509f72f796cab4bdcf4eb08d302f84"; logging-data="26723"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/k1lmtdoX3HbmSdxjnmuBx" |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
| Cancel-Lock | sha1:rAM7Pnr3VGUu6MQg3bUDv7YLkJg= |
| In-Reply-To | <qlbnku$e5e$1@news.albasani.net> |
| Content-Language | en-US |
| Xref | csiph.com comp.lang.java.help:4307 |
Show key headers only | View raw
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.
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar
'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