JAVA_HOME in agent.sh (build 1611) Follow
Hi
Previous versions of agent.sh used JAVA_HOME as part of the command to run the agent. The current version just uses the java command on the PATH.
My default jvm is 1.4 - I have JAVA_HOME set up to execute TC with 1.5 however now I get 'Unsupported major.minor version 49.0' when running the agent.
Editing the agent.sh and putting in $JAVA_HOME/bin/java makes it all work.
Is this a deliberate change? Should I be using a different mechanism to ensure the agent runs under 1.5?
Regards
Paul
Please sign in to leave a comment.
Paul Brooks wrote:
So far we decided that agent.sh should not require JAVA_HOME variable.
We plan to rework agent.sh a bit to make it more 'user frendly'.
Take a look at http://www.jetbrains.net/jira/browse/TW-702 and
http://www.jetbrains.net/jira/browse/TW-270
Regards,
KIR
--
Kirill Maximov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"