> On Mar 21, 2014, at 16:44, Petrus Hyvönen <petrus.hyvo...@gmail.com> wrote:
> 
> Hi,
> 
> I guess Andi is the best to answer, but just to make sure that you have set
> the JCC_JDK variable set. JCC tries to find it by itself but if it's set it
> 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..

> 
> Regards
> /Petrus
> 
> 
> 
> 
> 
> On Fri, Mar 21, 2014 at 3:27 PM, Toivo Henningsson <
> toivo.hennings...@modelon.com> wrote:
> 
>> Hi!
>> 
>> 
>> 
>> How does JCC choose which java version to use?
>> 
>> I've had some users that had troubles (on linux) because they had both
>> java 6 and java 7 installed,
>> 
>> and it seems that JCC was invoking java 6 while the .class files that JCC
>> was used on were created with java 7.
>> 
>> 
>> 
>> Is there some way to influence which java version that JCC picks up?
>> 
>> 
>> 
>> Best regards,
>> 
>> Toivo
>> 
>> 
>> 
>> *Toivo Henningsson, PhD*
>> 
>> Software Engineer
>> 
>> Simulation & Optimization R&D
>> 
>> 
>> Phone direct: +46 46 286 22 11
>> 
>> Email: toivo.hennings...@modelon.com
>> 
>> 
>> [image: Description: Description: Modelon_2011_Gradient_RGB_400]
>>   ------------------------------
>> 
>> Modelon AB
>> Ideon Science Park
>> SE-223 70 Lund, Sweden
>> 
>> Phone: +46 46 286 2200
>> Fax: +46 46 286 2201
>> 
>> 
>> Web: http://www.modelon.com
>> 
>> 
>> 
>> 
>> 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 liability
>> or responsibility for any use of or reliance on this email.
> 
> 
> 
> -- 
> _____________________________________________
> Petrus Hyvönen, Uppsala, Sweden
> Mobile Phone/SMS:+46 73 803 19 00

Reply via email to