如果使用的tomcat则在tomcat.bat中配置以下:
set FMS_HOME=C:\Siemens\Teamcenter11\tccs
set TC_ROOT=C:\Siemens\Teamcenter11
set TC_DATA=C:\Siemens\tcdata
set PATH=%FMS_HOME%\bin;%FMS_HOME%\lib;%FMS_HOME%\jar;%TPR%;%PATH%
如果使用纯java代码,在环境变量path中加入
C:\Siemens\Teamcenter11_2Tier\tccs\bin;C:\Siemens\Teamcenter11_2Tier\tccs\lib