1. When the project does not reference the external jar package (j2se)
Select project ----> right-click, export... ---> JAVA ---> select JAR file ---> next --> select the path and name of JAR file --> next --- Select Main class ---> finish.
2. j2se)
Solution 1When other external jar packages are referenced in the proj
switch the path to a folder in the file directory where hello. Java is located (. Jar files must be created in DOS (Windows platform), that is, myjavaRun the following command to include all the content in the current folder in the. jar file.
C:/Java/myjava> jar CF hello. jar.
Description: In the command line,
In some special cases, multiple jar packages need to be packaged into a single jar file. If you use MAVEN, you can add the following plugins: Build> Plugins> plugin> Artifactid>Maven-assembly-pluginArtifactid> Configuration> Archive> Manifest> to replace the
Add a local jar package to maven and a jar package to maven
Today, I met a jar package that is not in the mavan warehouse, so I can only add a local jar package. It took a lot of time to find information and finally OK. Therefore, it is recorded here.
1. For the first time, you can use
However, when running jetty and
1. Use jar to packageCode
Jar-cvfm my. Jar myframe. config myframe
Explanation: My. jar is the JAR file to be generated in the current directory. Its name can be obtained by itself, but its suffix must be jar.
Myframe. confi
Use the Eclipse plug-in fat jar
1. download and install the plug-in fat jar
:Http://fjep.sourceforge.net/
If you install the Eclipse plug-in, I believe everyone is familiar with it.
If the installation is successful, you can see the fat jar preferences option in window-preferences in the eclipse option bar.
2. Right-click-export-other-fat
Effect Chart:
This pair of frames is completely inherited, modeled after Alertdialog, only to achieve a custom effect.In addition, SetIcon is not implemented because most of the dialog boxes in the iphone have no icons.Accessories include examples, jar packages, jar package source.File Introduction :Aiphonedialogtest.rar This is the example projectNote In use to import the
Tags: 1.2 pos. com body different project-driven Baidu 1.4 Simply put, if the use of jdk1.2 and jdk1.3 use Classes12.jar, if the use of jdk1.4 and jdk1.5, choose Ojdbc14.jar. Drive Pack Classes12.jar for JDK 1.2 and JDK 1.3, and Ojdbc14.jar for JDK 1.4 and above, so try not to use Classes12.
-dpackaging =jar-dfile=E:\oracle\product\10.2.0\db_1\jdbc\lib\ojdbc14-10.2.0.4.0.jar. a "BUILD SUCCESS" message appears stating that the installation was successful!. The Ojdbc14-10.2.0.4.0.jar driver package is now successfully installed in the local MAVEN library. 3, in the Java EE Project loading Ojdbc14-10.2.0.4.0.jar
One, compile a simple apkLocal_path: = $ (call My-dir)Include $ (clear_vars)# Build All Java files in the Java subdirectoryLocal_src_files: = $ (call all-subdir-java-files)# Name of the APK to buildLocal_package_name: = LocalPackage# Tell it to build an APKInclude $ (build_package)Second, compile an apk that relies on the static. jar file. local_path: = $ (call My-dir) include $ (CLEAR_ VARS) # List of static libraries to include in the PACKAGElocal_s
1. Import into Eclipse, modify and then export the jar2.jar CF File.jar *.class package all class files in the current directory into a new jar file3. For patches. There have been jars for example: a bug was found. Then, to modify one of the classes, you need to package it in a second, for this case, just put the corresponding class in the specified directory for example: File.jar has a class demo fix bug n
1. Download Net.sf.fjep.fatjar_0.0.32.jar http://files.cnblogs.com/files/milanmi/net.sf.fjep.fatjar_0.0.32.jar.zip2, after downloading, directly placed in the Eclipse\plugins directory can be.3, new open eclips, enter4, right-click the project, will appear5. Click Build Fat Jarparameter is on the default, click NextIf you refer to too many jar packages, you can choose Save settings saving settings, and afte
When running the jar package, read the files in the jar package.During the development process, we often encounter reading configuration files. The reading of configuration files varies depending on the environment. Generally, if relative/path is used from a non-jar package, it is relatively simple and will not be described.In this case, we need to package our cl
MAVEN relies on a jar package in a local non-repositoryHttp://www.cnblogs.com/piaolingxue/archive/2011/10/12/2208871.htmlBlog Category:MavenToday, when using a MAVEN compilation to package a Web application, you encounter a problem:The project was developed with the introduction of a dependency jar package, placed in the Web-inf/lib directory, and the Web Libariary imported through BuildPath.There is no pro
Jar packages can be downloaded from maven. jar packages can be downloaded from maven.
Baidu is used everywhere when a jar is used. You can download it from maven today.
Those who downloaded the jar package on the official website lie in points on csdn.
URL: http://search.maven.org/#browsejarjarpackage can also be co
This script was found on GitHub stub.sh :#!/bin/shMyself= ' which"$" 2>/dev/null ' [$?-GT 0 -A - F "$"] myself="./$"Java=javaifTest-n"$JAVA _home"; ThenJava="$JAVA _home/bin/java"fiexec "$java" $java _args-jar$MYSELF "[email protected]"Exit 1For example, if you have a java -jar jar package that you can execute app.jar , just execute:cat stub.sh app.jar > app.ru
The most comprehensive Jar in history !, Jar dedication
Are you still worrying about finding various jar files?
Dear user! Good news!
For all the following jar files:
Http://jarfiles.pandaidea.com/
For example:
If you find it awesome! Please support help! Better resources are coming soon!
Download the
Use aspectjweaver to report "agent library failed to init: instrument" "Error opening zip file or JAR manifest m, aspectjweaver. jar"
This is just a small experience. I do not know why. When I added the Kieker monitoring feature in Ant build. xml today, I encountered this problem several times, and it was inexplicable:
Generally, an error is similar to this:
Error occurred during initialization of VM
Agent
This problem is also in the development project often encountered a problem, online provides a lot of methods, but I found that many do not apply, here are recommended two ways, a sure no problem, is more trouble, the other is suitable for Fatjar to package, but I did not succeed, The reason for estimating the Eclipse import plugin under Ubuntu may not be the same as under WindowsWay One:Put all the third-party jar packages into the master node and th
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.