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?