java命令设置扩展目录

Windows: (扩展目录分割符是分号)

java -Djava.ext.dirs==%JAVA_HOME%/lib/ext;D:\apache-tomcat-5.5.25\common\lib;D:\JAVA\axis-bin-1_4\axis-1_4\lib org.apache.axis.wsdl.WSDL2Java





linux:(扩展目录分割符是冒号)

java -Djava.ext.dirs=$JAVA_HOME/lib/ext:/opt/tomcat/common/lib:/opt/tomcat/webapps/ROOT/WEB-INF/lib  org.apache.axis.wsdl.WSDL2Java

你可能感兴趣的:(java,apache,tomcat,linux,ext)