Return-Path: X-Original-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 523DF105EF for ; Fri, 21 Mar 2014 18:18:19 +0000 (UTC) Received: (qmail 73232 invoked by uid 500); 21 Mar 2014 18:18:19 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 73105 invoked by uid 500); 21 Mar 2014 18:18:13 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 73084 invoked by uid 99); 21 Mar 2014 18:18:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2014 18:18:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [50.0.193.30] (HELO ovaltofu.org) (50.0.193.30) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2014 18:18:06 +0000 Received: from [100.125.36.135] (ip83-162-118-60.hotspotsvankpn.com [83.162.118.60]) (authenticated bits=0) by ovaltofu.org (8.14.4/8.14.4) with ESMTP id s2LIH7Z9018038 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 21 Mar 2014 11:17:27 -0700 (PDT) From: Andi Vajda Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: How does JCC choose which java version to use? Message-Id: Date: Fri, 21 Mar 2014 19:17:06 +0100 References: <0e2de4de836c4830a93865a8f9513483@DB3PR07MB169.eurprd07.prod.outlook.com> In-Reply-To: To: "pylucene-dev@lucene.apache.org" X-Mailer: iPhone Mail (11D167) X-Virus-Checked: Checked by ClamAV on apache.org > On Mar 21, 2014, at 16:44, Petrus Hyv=C3=B6nen w= rote: >=20 > Hi, >=20 > I guess Andi is the best to answer, but just to make sure that you have se= t > the JCC_JDK variable set. JCC tries to find it by itself but if it's set i= t > uses JCC_JDK as the path to the java. Yes, that's correct, use JCC_JDK. If you don't, the logic to figure out which to pick depends on the OS. Andi.. >=20 > Regards > /Petrus >=20 >=20 >=20 >=20 >=20 > On Fri, Mar 21, 2014 at 3:27 PM, Toivo Henningsson < > toivo.henningsson@modelon.com> wrote: >=20 >> Hi! >>=20 >>=20 >>=20 >> How does JCC choose which java version to use? >>=20 >> I've had some users that had troubles (on linux) because they had both >> java 6 and java 7 installed, >>=20 >> and it seems that JCC was invoking java 6 while the .class files that JCC= >> was used on were created with java 7. >>=20 >>=20 >>=20 >> Is there some way to influence which java version that JCC picks up? >>=20 >>=20 >>=20 >> Best regards, >>=20 >> Toivo >>=20 >>=20 >>=20 >> *Toivo Henningsson, PhD* >>=20 >> Software Engineer >>=20 >> Simulation & Optimization R&D >>=20 >>=20 >> Phone direct: +46 46 286 22 11 >>=20 >> Email: toivo.henningsson@modelon.com >>=20 >>=20 >> [image: Description: Description: Modelon_2011_Gradient_RGB_400] >> ------------------------------ >>=20 >> Modelon AB >> Ideon Science Park >> SE-223 70 Lund, Sweden >>=20 >> Phone: +46 46 286 2200 >> Fax: +46 46 286 2201 >>=20 >>=20 >> Web: http://www.modelon.com >>=20 >>=20 >>=20 >>=20 >> This email and any attachments are intended solely for the use of the >> individual or entity to whom it is addressed and may be confidential and/= or >> privileged. If you are not one of the named recipients or have received >> this email in error, (i) you should not read, disclose, or copy it, (ii) >> please notify sender of your receipt by reply email and delete this email= >> and all attachments, (iii) Modelon does not accept or assume any liabilit= y >> or responsibility for any use of or reliance on this email. >=20 >=20 >=20 > --=20 > _____________________________________________ > Petrus Hyv=C3=B6nen, Uppsala, Sweden > Mobile Phone/SMS:+46 73 803 19 00