Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #943

How to find out if I use java.exe from a jdk, a jre or a javaEE installation?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.utanet.at!newsfeed01.chello.at!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail
From rob@wenger.net (Robin Wenger)
Newsgroups comp.lang.java.programmer, comp.lang.java.help
Subject How to find out if I use java.exe from a jdk, a jre or a javaEE installation?
Followup-To comp.lang.java.programmer
Date 12 Aug 2011 14:33:00 GMT
Lines 20
Message-ID <4e45399c$0$6627$9b4e6d93@newsspool2.arcor-online.net> (permalink)
Organization Arcor
NNTP-Posting-Date 12 Aug 2011 16:33:00 CEST
NNTP-Posting-Host 41418349.newsspool2.arcor-online.net
X-Trace DXC=Z<UY?o_Ym\6T2Rfi6<W9f5A9EHlD;3Yc24Fo<]lROoR18kF<OcfhCO;h>o:Pn1UFG?QL4QcO2CM419AW^;nKDM<?_n4E:CYZ`m6j1YZ6=YCIO:
X-Complaints-To usenet-abuse@arcor.de
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7040 comp.lang.java.help:943

Cross-posted to 2 groups.

Followups directed to: comp.lang.java.programmer

Show key headers only | View raw


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

Back to comp.lang.java.help | Previous | NextNext in thread | Find similar


Thread

How to find out if I use java.exe from a jdk, a jre or a javaEE installation? rob@wenger.net (Robin Wenger) - 2011-08-12 14:33 +0000
  Re: How to find out if I use java.exe from a jdk, a jre or a javaEE installation? Lew <lewbloch@gmail.com> - 2011-08-12 14:21 -0700

csiph-web