I want 开发者_StackOverflow中文版to create jar file in ubuntu linux.Can anybody help me or any link. Thanks
jar cf jar-file input-file(s)
for more information http://java.sun.com/developer/Books/javaprogramming/JAR/basics/build.html
If you are using eclipse IDE, instead of using command line tool you can use eclipse to generate jar file for you.This article shows how to do it.
Following article shows how to do it in NetBeans http://netbeans.org/kb/docs/java/quickstart.html
Here yo go: Creating a JAR File
The jar tool is part of the Java SDK: http://java.sun.com/javase/6/docs/technotes/tools/windows/jar.html
精彩评论