Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: Missing javac Date: Thu, 14 Jul 2016 07:54:11 -0400 Organization: A noiseless patient Spider Lines: 15 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 14 Jul 2016 11:54:17 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="9a4ebb5eb290694059d00d4e913b6b9c"; logging-data="14666"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ryyediliyqz6/Bj395CLS" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: Cancel-Lock: sha1:QOApi8sX+063ybjBu1v+/V/ivjU= Xref: csiph.com comp.lang.java.programmer:34883 On 7/13/2016 7:52 PM, solitary.wanderer52@gmail.com wrote: > Just downloaded NetBeans/Java SDK to a Windows 10 Home x64 machine. NetBeans seems to work fine, as well as Java itself. However, typing javac at the command line returns a missing command error. I find javac on the disk, just not where the where command indicates java is. I can create a symlink for it in that directory, however it just creates other problems, and is probably not the ultimate solution. "Missing command error" is new to me, but I suspect your PATH variable doesn't include the Java directories. Here's what I do, at the Windows command prompt: path %path%;"\Program Files\Java\jdk1.8.0_91\bin" (If your JDK is located elsewhere or if you're using a different version, make the obvious edits.) -- esosman@comcast-dot-net.invalid "Don't be afraid of work. Make work afraid of you." -- TLM