创建mainfest file
echo 'Main-Class: Entry' > manifest.mf
echo 'Class-Path: . /usr/....../jconn3.jar' >> manifest.mf
Class-Path配置look at http://blog.csdn.net/zhouyong0/article/details/7517055
生成jar文件
jar cvfm test.jar manifest.mf Entry.class
更新jar文件 jar uvf test.jar -C ~/programming/java/workspace Entry.java
查看jar文件内容 jar tvf test.jar
运行jar文件 java -jar test.jar
解压jar文件
jar xvf test.jar