技术文章 - CS29380

从 Windchill PDMLink 中的 shell 脚本或批处理文件在 Windchill Shell 中运行 Windchill 命令

已修改: 19-Jul-2023   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill PDMLink 9.1 to 12.0.2.9

说明

  • 从 Windchill 中的 shell 脚本或批处理文件在 Windchill Shell 中运行 Windchill 命令
  • 如何从 Unix 中的 shell 脚本或 Windows 中的批处理文件执行 Windchill 命令?
  • 使用批处理文件启动 Windchill 时出错。
C:\Users\Administrator>echo %WT_HOME%
D:\ptc\windchill12.0\Windchill
C:\Users\Administrator>%WT_HOME%\bin\windchill.exe shell
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/ptc/windchill/mx/util/Properties has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
  • 从 cmd 运行 Windchill Start 或 Windchill Stop 命令给出以下错误
'windchill' is not recognized as an internal or external command, operable program or batch file.
这是文章 29380 的 PDF 版本,可能已过期。最新版本 CS29380