我怎么样才能加载一个jar包呢 除了配置classpath环境变量外 还有什么方法 
我是要用jython 加载一个我自己的jar包 
具体该怎么做 
谢谢

解决方案 »

  1.   

    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
    <classpathentry kind="src" path="src"/>
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre6"/>
    <classpathentry kind="lib" path="lib/dom4j-1.6.1.jar"/>
    <classpathentry kind="lib" path="lib/jaxen-1.1-beta-6.jar"/>
    <classpathentry kind="lib" path="lib/commons-codec.jar"/>
    <classpathentry kind="lib" path="lib/commons-httpclient-3.1.jar"/>
    <classpathentry kind="lib" path="lib/commons-logging.jar"/>
    <classpathentry kind="lib" path="lib/htmllexer.jar"/>
    <classpathentry kind="lib" path="lib/htmlparser.jar"/>
    <classpathentry kind="output" path="bin"/>
    </classpath>.classpath文件内容
      

  2.   

    个人练习的时候可以考虑学习下ant脚本工具,工作时就会有统一的管理环境了,我们只需要往上面打各种补丁就o了