Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 29500 invoked from network); 27 Jul 2010 15:09:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Jul 2010 15:09:48 -0000 Received: (qmail 79272 invoked by uid 500); 27 Jul 2010 15:09:47 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 79212 invoked by uid 500); 27 Jul 2010 15:09:46 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 79204 invoked by uid 99); 27 Jul 2010 15:09:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jul 2010 15:09:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of leif.landen@gmail.com designates 209.85.161.45 as permitted sender) Received: from [209.85.161.45] (HELO mail-fx0-f45.google.com) (209.85.161.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jul 2010 15:09:41 +0000 Received: by fxm2 with SMTP id 2so713978fxm.4 for ; Tue, 27 Jul 2010 08:09:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=XEB7tRYxYmWhpKs4o6O7+bFfO9gNN+mcnay7csW7V1c=; b=PCs99cEcJnCWxxm2A6AIpzXQqpyJpSVt809sYVmr3RFezWRnNjTCM1p4e/P4fuGnrY wMNp4mX8sG7qTJ3+GtKeDSHTqHszqQi9GttgsirJuVXny9B8Au6k+i8Rnm2lRwSztqJk /8qeIni8gBk+STHda/k9eVqrtQFSNsniyvXRQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=N0vGGkvOQtjV3UxYg51Q/X8OOxNKoSJtPxk5bh7fUuklI+hdDR+rLUPm7OOBjfxP1t rXsvbwahU7/GPz2n0AEvF6V0fxfREuVrF5hb1v7O+TMsH9AXByKIYTic8o6BX1FQhk1X 4Dz363n1SdEbjth5inplh9APpyMH76+7yK2dI= MIME-Version: 1.0 Received: by 10.239.171.143 with SMTP id w15mr680001hbe.55.1280243359766; Tue, 27 Jul 2010 08:09:19 -0700 (PDT) Sender: leif.landen@gmail.com Received: by 10.239.141.68 with HTTP; Tue, 27 Jul 2010 08:09:19 -0700 (PDT) In-Reply-To: <779235.8777.qm@smtp120.mail.ukl.yahoo.com> References: <779235.8777.qm@smtp120.mail.ukl.yahoo.com> Date: Tue, 27 Jul 2010 17:09:19 +0200 X-Google-Sender-Auth: giyWrXpg0KMoocXhdbGbDihtQ4g Message-ID: Subject: Re: How to the currently used java version and java install path? From: Leif Ershag To: Ant Users List Content-Type: multipart/alternative; boundary=001485f1ec90af57d4048c5fe238 --001485f1ec90af57d4048c5fe238 Content-Type: text/plain; charset=UTF-8 Some of these should give the correct value: http://www.ghidinelli.com/2008/04/01/built-in-ant-properties On Tue, Jul 27, 2010 at 5:02 PM, Ben Stover wrote: > How can I dsiplay at the console the currently used Java release and the > java installation path? > > If possible I want to display the exact version including the update number > e.g. > > 1.5.upd03 > > Ben > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --001485f1ec90af57d4048c5fe238--