首先要注意的是 - 你没有使用"Putty"来设置CLASSPATH,你正在使用你登录的'shell',使用Putty作为你的SSH客户端.
根据您的shell,有不同的方法来设置类路径 -
Bash(或兼容的shell
export CLASSPATH=/full/path/to/xalan.jar:/full/path/to/serializer.jar:/full/path/to/xml-apis.jar:/full/path/to/xercesImpl.jar:$CLASSPATH
Run Code Online (Sandbox Code Playgroud)
C Shell(或兼容的shell)
setenv CLASSPATH /full/path/to/xalan.jar:/full/path/to/serializer.jar:/full/path/to/xml-apis.jar:/full/path/to/xercesImpl.jar:$CLASSPATH
Run Code Online (Sandbox Code Playgroud)