Path: csiph.com!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: Can't get Eclipse to run any more Date: Thu, 13 Jul 2017 19:23:34 -0400 Organization: Aioe.org NNTP Server Lines: 55 Message-ID: References: NNTP-Posting-Host: PBuS014lhzVyHjLbXmo/ZQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Language: en-US Xref: csiph.com comp.lang.java.programmer:36920 On 7/13/2017 6:56 PM, Rhino wrote: > On 2017-07-13 6:13 PM, Arne Vajhøj wrote: >> On 7/13/2017 6:11 PM, Rhino wrote: >>> I have one more symptom to add to the list: I can't execute jars any >>> more, at least not from the desktop. >>> >>> I recently downloaded a bunch of JavaFX sample apps and put them on a >>> folder which I can access from my desktop. Among the sample apps are >>> Ensemble.jar. Before Eclipse started giving me trouble, I could just >>> click on a jar and it would launch the application in the jar and >>> execute cleanly. Now, nothing happens when I click on the jars in >>> that folder, nothing at all. >>> >>> I've forgotten exactly what happens under the covers when you click >>> on a jar - which JDK or JRE it tries to use but I only have one of >>> each, both at the 1.8.0.1331 level. That should be sufficient, >>> shouldn't it? >> >> Is JAVE_HOME\bin in PATH? > > I've got two environment variables name Path, one belonging to my user > name and one for the machine. Remind me what Windows does with these? > Does it combine them and search everywhere on both Paths? Or does it use > the personal one when you are signed on with that ID and the other one > the rest of the time? I believe Windows merges the two to the actual used PATH. I tend to put most stuff under the System PATH, because sometimes things are run under a different username. >> Does \Windows\System32 have the copies of java.exe, javaw.exe and >> javaws.exe, >> that it is supposed to have? > > It has NONE of those files. But it's a 64-bit Windows so do those files > need to be somewhere else in that case? No. \Windows\System32 is actually the 64 bit stuff. The 32 bit stuff are in \Windows\SysWow64. No - I don't understand the naming either. > How do the files get there in the first place? I've *never* manually > copied those files into \Windows\System32 in any Java install I've ever > done. They usually sit in the JDK or JRE which is usually in C:\Program > Files on a 64-bit machine. Do they need to be in Windows\System32 as well? Years ago the Java install seemed to copy the files to that dir. For the last many installs that does no longer seem to happen. And every time I have updated Java I manually copy them over (I copy from JDK bin, but it should not matter whether they are copied from JDK or JRE bin). Arne