Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.albasani.net!newsfeed1.swip.net!news.astraweb.com!border2.a.newsrouter.astraweb.com!border1.hitnews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 19 Mar 2014 15:30:17 -0500 Date: Wed, 19 Mar 2014 20:30:16 +0000 From: lipska the kat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: JDK 8 is there References: <1loii9l0salejkudl9s9oaa2lcderlpcpe@4ax.com> In-Reply-To: <1loii9l0salejkudl9s9oaa2lcderlpcpe@4ax.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 33 X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-ZLwaUIVhoGQK1sUtDa7TW0nZO26OVl4uvlkJxIk1uHZMwx3Tusx+XWjTpGqFUdcTKyhrdCyI81yHoBl!wlxtfPl4o+fhtAR70n7n0sRdfZ2HzbGXqJGDVbhJ7xlvBB5djmuZK82bHCRZyuHWSYa2/rJ7Ll/H X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2752 Xref: csiph.com comp.lang.java.programmer:27798 On 19/03/14 09:27, Roedy Green wrote: > On Wed, 19 Mar 2014 01:34:23 -0400, Wayne wrote, > quoted or indirectly quoted someone who said : > >> Make sure java.exe really is in the current folder (use dir). In >> spite of the name, make sure you installed java 8 there and not >> elsewhere. If so, it probably is a PATH issue. Try using a >> pathname and see if you run ther correct JVM: .\java.exe -version > > In times past you could have several different JVMs installed, and > when you said Java.exe it always used the one in the current > directory. > > The JCP does not reflect all the JVMs installed. If you add them, it > soon tosses them out. I've more or less given up trying to install several different versions of Java in the same general location. The way I've found to use different versions on the same machine is to install the required version in local userspace. I have only tried this on *nix based systems, no idea if it's possible on Windows. This way you can configure your PATH, JAVA_HOME and anything else you need in your account specific .bashrc or whatever. I have various versions from 1.4 on installed in various different accounts and all I have to do is log into the required account and away you go. No conflicts, no surprises and no problems ... so far. -- lipska the kat - treacherous feline. GNU/Linux user #560883 - linuxcounter.net