1 Replies Last post: Jun 27, 2013 4:23 PM by Michael Kuzmin  
PWIT Newbie 1 posts since
Jun 27, 2013
Currently Being Moderated

Jun 27, 2013 11:33 AM

How to set JAVA_HOME for startup (multiple JAVA versions)?

On my development machine I have multiple JAVA versions installed.

TeamCity recommend JDK6 32bit, but standard JAVA_HOME points to another version of JAVA.

 

So, where can I set the JAVA_HOME variable for startup und running the TeamCity Server and Agent.

 

Best regards, Peter

Michael Kuzmin JetBrains 1,556 posts since
Jul 30, 2005
Currently Being Moderated
Jun 27, 2013 4:23 PM in response to: PWIT
Re: How to set JAVA_HOME for startup (multiple JAVA versions)?

Hi

 

TeamCity is fully compatible with java 1.7, so there is no need to additionally set up 1.6 version.

It can also work under 64-bit Java, but it doubles required memory but doesn't improve performance much.

 

Anyway, TeamCity can use standalone JRE instance, if it's installed inside TeamCity/jre directory. Our Windows installer works such way.

More Like This

  • Retrieving data ...