Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #4307
| 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 | 2019-09-11 17:40 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <qlbpkh$q33$1@dont-email.me> (permalink) |
| References | <qlbnku$e5e$1@news.albasani.net> |
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