JAVA_HOME overriden by -vm param in jbe startup?
![]()
I did not install the RTC client on to the build server, just the Build System Toolkit. And when I started the jbe, I used a -vm parameter pointing to the JRE that installs with BST. And the listener works and accepts and starts requests.
But, using maven , these builds fail as the compiler can not be found. I did have set JAVA_HOME set pointing to a JDK elsewhere on the disk. When I set the -vm option to a different JDK (so I now have 2 JDKs and a JRE with JAVA_HOME set to the unused JDK), the jbe started and the build compiled properly. So will a build started by the jbe use the java/javac that is used in the -vm option and override the JAVA_HOME variable? Regards, John |
Accepted answer
One other answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.