Go to Project Structure > Artifacts-add > JAR > From modules with dependencies ....Exporting to an executable jar requires the main Class to be set as the entry for the JAR program.The generic tool jar can be set without the main Class.Selecting the extract to the target jar
Open the command prompt (Win2000 or run the CMD command in the running basket, Win98 is the DOS prompt), enter jar-help, then press enter (if you already have JDK or a later version on your disk) to see what:
Usage: jar {ctxu} [vfm0mi] [Jar-file] [manifest-file] [-C Directory] File Name...
Option:-C. Create a new archive-T list the archived content-X expand the
War package: After a Web application is done, it is usually a Web site that is packed into a container
Jar packages: Commonly used as a generic class to be referenced at development time, packed for easy storage management.
Ear Packs: Enterprise applications are usually EJB-typed ear packs
Various packs of the play:
Turn:
Brother, are you crazy about Java, or for your own livelihood, welcome you into the wonderful Java world, welcome. Maybe you just s
Source: pconline Author: fivesky
Have you heard of jar files? Or a stranger! Okay, it doesn't matter. This is our first stop: Package and release.
Why is there this? First, this is the full name of jar: JavaTM Archive (JAR) file. Yes, it is the java Archive file. This is a bit similar to a zip file. Think about what it is for, compress it !? That's right. We nee
Commons-logging-1.0.4.jar
You do not need to import Struts2 after it is added.
Log4j-1.2.15.jar
Hibernate does not need to be imported after it is added.
Jar file: The red is the correct jar package.
Operate the database jar
Mysql-connector-java-5.0.8-bin.jar
Struts2
The
Are you fascinated by Java, or are you welcome to enter the wonderful Java World, welcome for your own livelihood! Maybe you just said hello to everyone.
World! Or ...... OK! This is enough. Let's get started and start the journey of the magic world:
Have you heard of jar files? Or a stranger! Okay, it doesn't matter. This is our first stop: Package and release.
Why is there this? First, this is the full name of
Turn: http://www.blogjava.net/weishuangshuang/archive/2011/01/23/343400.html
Hibernate jar: hibernate3.jar. This is the core jar package of hibernate3.0. It is required. Oh, no choice. For example, the common sessions, queries, and transactions are all located in this jar file and necessary.
Cglib-2.1.3.
Hibernate
Hibernate3.jar: this is the core jar package of hibernate3.0. It is required. Oh, no choice. For example, the common sessions, queries, and transactions are all in this jar file.
Cglib-2.1.3.jar, cglib library, Hibernate use it to realize dynamic generation of Po bytecode, very core library, necessary.
ASM.
How do I compile a Java program into an. exe file? The best choice is to use the method of making executable JAR packages, not to mention the ability to maintain the cross-platform nature of Java.It is often seen on the internet that someone asks how to compile the Java program into an. exe file. There are usually only two answers, one is to make an executable JAR file package, and then you can double-click
-jar parameter setting method when running the application Classpathare you using the Java-jar parameter to run the packaged jar application and find that the application cannot find the content of the third-party class library set up under Classpath? No matter how to set the Classpath parameter is useless, always will report classnotfound error? When using Java-
Functions of Java packages
--------------------------------------------Meanings of common J2EE jar packagesActivation. jar: jar package related to javamail. When javamail is used, it should be added to lib together with mail. Jar. It is responsible for the data source and type of mail, etc.Ajaxtags-1.2-beta3.
This article describes in detail the use of JAR commands, which can help you learn and summarize the usage of JAR commands. Specific as follows:A jar package is a compressed document that is unique to Java, and you can actually interpret it as a. zip package. Of course there is a difference, there is a meta-inf\manifest in the
This article describes in detail the use of JAR commands, which can help you learn and summarize the usage of JAR commands. Specific as follows:A jar package is a compressed document that is unique to Java, and you can actually interpret it as a. zip package. Of course there is a difference, there is a meta-inf\manifest in the
Have you heard of jar files? Or a stranger! Okay, it doesn't matter. This is our first stop: Package and release.Why is there this? First, this is the full name of JAR: javatm archive (jar) file. Yes, it is the Java archive file. This is a bit similar to a zip file. Think about what it is for, compress it !? That's right. We need to compress the original scattere
Open the command prompt (Win2000 or run the CMD command in the running basket, Win98 is the DOS prompt), enter jar-help, then press enter (if you already have JDK or a later version on your disk) to see what:Usage: jar {ctxu} [vfm0mi] [Jar-file] [manifest-file] [-C Directory] File Name...
Option:-C. Create a new archive-T list the archived content-X expand t
Hibernate needs the jar package1)Hibernate3.jar: Hibernate core Library, nothing to say, must use the JAR package2)Cglib-asm.jar: Cglib Library, Hibernate uses it to achieve the dynamic generation of PO bytecode, very core library, must use the JAR package3)Dom4j.jar: dom4j is a Java XML API, similar to Jdom, used to r
The jar package is compressed by a. class file. To view the contents of the jar package, unzip it using the compression tool. You can also make changes and re-play the jar package. Take a look at some of the ways you've learned to hit jar packs recently: One, DOS use JAR com
I still feel like using the Eclipse Third-party plugin Fatjar directly package the Java project into a jar, upload it directly to the server (Execute permission), and refer to an article about Plug-ins. The methods below (some relevant information and practices on the Web) are troublesome and prone to error.
1. First in eclipse to export the project source into a jar package, you can select the project righ
Open the command prompt (win2000 or run the cmd command in the running basket, win98 is the DOS prompt), enter jar-help, then press enter (if you already have JDK or a later version on your disk) to see what:Usage: jar {ctxu} [vfm0Mi] [jar-file] [manifest-file] [-C Directory] File Name...
Option:-C. Create a new archive-T list the archived content-X expand the na
Spring dependency
Dependency Group
JAR File
Description
Ant
Ant. jar, ant-junit.jar, ant-launcher.jar
Spring uses Apache ant as its build tool and is also used to complete a large number of other tasks, such as document generation and test execution. Ant does not work at runtime, so you do not need to include the JAR file when rele
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.