Good catch. No, it isn't: I was experimenting with the various java* executables to see if there was a difference, and pasted the wrong interaction. The problem occurs for both files (and indeed many others!)<div><br>
</div><div>I guess it could have to do with soft links. I tried copying the exe from the java folder itself into System32, but that had no effect. Even if the problem is soft-links though, I would expect directory-list to show the links! </div>
<div><br></div><div>One thing I haven't tried is other folders. I'll give that a shot when I get home today. But it doesn't look like a universal problem, given Niklas' report upthread.</div><div><br></div>
<div>Thanks,</div><div>- T</div><div><br><div class="gmail_quote">On Fri, Dec 7, 2012 at 6:53 AM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This last interaction shows "javaw.exe", whereas the others used<br>
"java.exe". Is that difference significant?<br>
<br>
As a wild guess, I wonder whether filesystem soft links might be<br>
related, since I never got around to supporting those on Windows (sinc<br>
they're relatively new to Windows).<br>
<div class="HOEnZb"><div class="h5"><br>
At Thu, 6 Dec 2012 19:09:24 -0500, Tim Nelson wrote:<br>
> It actually _is_ in my PATH already:<br>
><br>
> > (find-executable-path "javaw.exe")<br>
> #<path:C:\Windows\system32\javaw.exe><br>
> > (getenv "PATH")<br>
> "...;C:\\Windows\\system32;..."<br>
><br>
> (Other members of PATH omitted.) Weird, huh? Something is wonky. I even<br>
> tried changing the capitalization of "system" on the off chance that case<br>
> mattered, but nope.<br>
><br>
> Ben: Thanks for the ref. I should have thought to look at the C code.<br>
> (Would Racket blinders cause Racket to ignore some of its own code? ;-) )<br>
><br>
> On Thu, Dec 6, 2012 at 7:00 PM, Danny Yoo <<a href="mailto:dyoo@hashcollision.org">dyoo@hashcollision.org</a>> wrote:<br>
><br>
> ><br>
> ><br>
> > On Thu, Dec 6, 2012 at 4:22 PM, Tim Nelson <<a href="mailto:tbnelson@gmail.com">tbnelson@gmail.com</a>> wrote:<br>
> ><br>
> >> Thanks for the hint Danny. I didn't know about that function... but I'm<br>
> >> sorry to say that<br>
> >><br>
> >> > (find-executable-path "java.exe")<br>
> >> #f<br>
> >><br>
> >> whereas from cmd:<br>
> >> > where java<br>
> >> C:\Windows\System32\java.exe<br>
> >><br>
> >> so the command line knows about it, and I can use it, but it is concealed<br>
> >> from Racket, even via find-executable-path. That's probably a more concise<br>
> >> statement of my problem!<br>
> >><br>
> >><br>
> > Ugh. Ok, that was _supposed_ to work.<br>
> ><br>
> > Out of curiosity, what happens if you add C:\Windows\System32 to your PATH?<br>
> ><br>
> > (I know that's not the right solution, and it sounds like there's some<br>
> > Windows weirdness involved here.)<br>
> ><br>
</div></div><div class="HOEnZb"><div class="h5">> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</div></div></blockquote></div><br></div>