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
Please sign in to leave a comment.
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.