Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: How to find out if I use java.exe from a jdk, a jre or a javaEE installation? Date: Fri, 12 Aug 2011 14:48:43 -0700 (PDT) Organization: http://groups.google.com Lines: 23 Message-ID: References: <4e45399c$0$6627$9b4e6d93@newsspool2.arcor-online.net> Reply-To: comp.lang.java.programmer@googlegroups.com NNTP-Posting-Host: 2620:0:1000:437c:224:d7ff:fe69:5838 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1313186656 7162 127.0.0.1 (12 Aug 2011 22:04:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 12 Aug 2011 22:04:16 +0000 (UTC) In-Reply-To: <4e45399c$0$6627$9b4e6d93@newsspool2.arcor-online.net> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2620:0:1000:437c:224:d7ff:fe69:5838; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 X-Google-Web-Client: true Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7062 Please do not multi-post. Robin Wenger wrote: > Assume I am working on a unknown computer (from a friend/colleague) where some pre-installed Java installations exist. > > When I type on a command prompt/terminal: > > java -version > > the output tells me if java.exe is part of a JavaSE or JavaEE installation. > But it does NOT tell me if I use > > java.exe from the jdk path/part or the jre path/part. > > How can I find out (in Win) WHICH java.exe I used in detail? > > Keep in mind that there could be further applications/developments tool which might bring their own > jdk/jre installation. > > So java.exe could be called from these additional installations as well. > > Robin