Eclipse里面启动teamcenter的时候总是爆出 WARN : 16:44:16,416 - TcLogger$IC_PrintStream.log:? teamcenter打开时出现如下错误 ERROR: 16:44:26,081 - TcLogger$IC_PrintStream.logButCheckForException:? java.lang.UnsatisfiedLinkError java.lang... Eclipse里面启动teamcenter的时候总是爆出
WARN : 16:44:16,416 - TcLogger$IC_PrintStream.log:?
teamcenter打开时出现如下错误
ERROR: 16:44:26,081 - TcLogger$IC_PrintStream.logButCheckForException:?
java.lang.UnsatisfiedLinkError
java.lang.UnsatisfiedLinkError: no FCCJavaClientProxy64 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at com.teamcenter.fms.clientcache.proxy.FileCacheProxy.(FileCacheProxy.java:249)
at com.teamcenter.rac.kernel.FCCDelegate.(Unknown Source)
at com.teamcenter.rac.kernel.FMSDelegateFactory.createFCCDelegate(Unknown Source)
at com.teamcenter.rac.kernel.FmsFileCacheProxy.(Unknown Source)
at com.teamcenter.rac.kernel.TCSession.startTCSession(Unknown Source)
at com.teamcenter.rac.kernel.TCSession.login(Unknown Source)
at com.teamcenter.rac.kernel.TCLoginJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
ERROR: 16:44:26,081 - TcLogger$IC_PrintStream.logButCheckForException:?
com.teamcenter.fms.util.FMSException
com.teamcenter.fms.util.FMSException: Could not open FCCJavaClientProxy library (FCCJavaClientProxy64). Make sure FMS_HOME is set properly.
at com.teamcenter.fms.clientcache.proxy.FileCacheProxy.generateLocalFMSException(FileCacheProxy.java:911)
at com.teamcenter.fms.clientcache.proxy.FileCacheProxy.(FileCacheProxy.java:266)
at com.teamcenter.rac.kernel.FCCDelegate.(Unknown Source)
at com.teamcenter.rac.kernel.FMSDelegateFactory.createFCCDelegate(Unknown Source)
at com.teamcenter.rac.kernel.FmsFileCacheProxy.(Unknown Source)
at com.teamcenter.rac.kernel.TCSession.startTCSession(Unknown Source)
at com.teamcenter.rac.kernel.TCSession.login(Unknown Source)
at com.teamcenter.rac.kernel.TCLoginJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
ERROR: 16:44:26,082 - FCCDelegate.notifyTerminalResourceError:?
FCC 接口未能初始化。
求解决办法
点击Eclipse的菜单栏中的Run->Run Configurations,选择你为Teamcenter定制的Eclipse Application,然后选择Environment选显卡,添加环境变量PATH,这个PATH的路径非常重要,
FMS_HOME=C:\Siemens\Teamcenter8\fcc
PATH=%FMS_HOME%\bin;%FMS_HOME%\lib;%TPR%;%PATH%
你需要把PATH值中的FMS_HOME修改为C:\Siemens\Teamcenter8\fcc,不能使用%FMS_HOME%代替;
修改之后的
PATH=C:\Siemens\Teamcenter8\fcc\bin;C:\Siemens\Teamcenter8\fcc\lib;%TPR%;%PATH%