Differences between Classes12.jar,ojdbc14.jar,ojdbc5.jar and Ojdbc6.jar, the difference between
When using Oracle JDBC drivers, there are some issues that you can solve by replacing different versions of Oracle JDBC drivers. Most commonly used Ojdbc14.jar have multiple vers
Maven project package jar depends on external jar, maven project package jar
Sometimes we want to develop some small java programs. We need to package them into jar and execute them separately to create a maven project. maven is very convenient and there is a plug-in that is automatically packaged into
Java class package into jar file introduction of jar package, java class package jar
1. Package classes into jar files
First, let's take a look at the source code of MainActivity. java and func. java respectively.
To package func. java into a jar package, use the fol
Now I've written a Java project and want to export the executable jar file. There are two methods, as follows.
I. Runnable JAR File
Click the "File" button in the upper left corner of Eclipse and select "Export".
Select "Runnable JAR File" under Java and click "Next".
Direct "Finish".
II.
http://blog.csdn.net/caiqcong/article/details/7618582spanstyle= "FONT-FAMILY:SIMSUN;FONT-SIZE:12PX;">XML version= "1.0" encoding= "UTF-8" standalone= "no"?>Projectdefault= "Create_run_jar"name= "Create Runnable Jar for Project SeleniumAutomation-3.1"> This file is created by Eclipse Runnable JAR Export Wizard - ANT 1.7 is required - Targetname= "Create_run_jar"> JarDestFile= "C:/users/topcat
In the pom.xml of the MAVEN project, add:Details:1. Right click on Maven project, >maven clear in Run as, first clean up, may error, no tube2. In the menu section, such as: file, edit, source, refactor, Navigate, Project, MyEclipse, Mobile, Search, Run, Windows, help find project> Clear, clears the project, why this step, do not directly execute 3 and 4, I have tried this side, not clear, under the Web-inf class all. java files are not automatically compiled and modified3. Right-click on the Mav
When unzip is used in Linux, the End-of-central-directory signature not found and vertusignature errors are returned.In Linux, when unzip is used for decompression, an error is returned:$ Unzip abc.zipArchive: abc.zipEnd-of-central-directory signature not found. Either this file is notA zipfile, or it constitutes one disk of a multi-part archive. InLatter case th
Solution One, use Pyton to deal with
1.VI uzip File
2. Copy content (Python)
#!/usr/bin/env python
#-*-Coding:utf-8-*-
# uzip.py
Import OS
Import Sys
Import ZipFile
Print "Processing File" + sys.argv[1]
File=zipfile. ZipFile (Sys.argv[1], "R");
For name in File.namelist ():
Utf8name=name.decode (' GBK ')
Print "Extracting" + utf8name
pathname = Os.path.dirname (utf8name)
If not os.path.exists (pathname) and pathname!= "":
Os.makedirs (Pathname)
data = File.read (name)
If not os
I am writing a Java project, which is an API provided to the customer to call, but my API requires about 10. Jar files,
In the past, I used the export JAR file function of eclipse to export jar files. Such jar files can be used, but the package customers who depend on my APIs still need to import them, in this way, we
retains the original file. -D Unzip the compressed file. -L Displays the following fields for each compressed file: The size of the compressed file, the size of the uncompressed file, the compression ratio, the name of the uncompressed file-R recursively finds the specified directory and compresses all of its files or is decompressed. -T test to check that the compressed file is complete. -V for each compression and decompression file, display the fi
Many people on the web said to extract the jar package, but the jar command cannot be specified when extracting the directory, it is recommended to use Unzip decompression war package.unzip-d specify directory [[emailprotected] upload]# unzip-oq common.war-d common command name: Un
extension:# Rpm2cpio file. RPM | cpio-Div12. Install files with the. Deb extension:# Dpkg-I file. Deb13. decompress the file with the. Deb extension:# Dpkg-Deb-fsys-tarfile file. Deb | tar xvf-ar PFile. Deb data.tar.gz | tar xvzf-14.files with the extension of .zip:# Unzip file.zipDecompress WinZip files in LinuxIf JDK is installed, you can use the jar command and the
can use the jar command. Generally, you can use the unzip command, thanks to the cross-platform ZIP file format.
Examples of advanced compression commands:Create a full file named usr.tar in the full directory of the/usrdirectory.Tar CVF usr.tar/homeCreate and compress all the directories in the/usr directory. The file name is usr.tar.gz.Tar czvf usr.tar.gz/usrA group of files with the suffix tar.gz# Tar C
1. Click "window"-> "Preferences"-> "Java"-> "installed jres"
2. in this case, the right side of "installed jres" is the List Pane, listing the system's JRE environment. Select Your JRE and click "Edit... ", a window appears (edit JRE)
3. Select the Rt. jar file: "C:/program files/Java/jre_1.5.0_06/lib/RT. Jar"Click "+" on the left to expand it,
4. after expansion, You can see "Source attachment :( none)
and jar two jar package, and some three we can only find Resource.jar package without jar packageResource.jar file and. jar File differences:In fact, the Resource.jar package is called the Resource jar package, and we unzip it to
: META-INF/
Expand: META-INF/manifest. MF
Create: Test/
Expand: Test/test. Class
9) jar UF test. Jar manifest. MF
The file manifest. mf is added to test. Jar. Use jar TF to view test. Jar. You can find that test. Jar has a manifes
:# Rpm2cpio file. RPM | cpio-Div12. Install files with the. Deb extension:# Dpkg-I file. Deb13. decompress the file with the. Deb extension:# Dpkg-Deb-fsys-tarfile file. Deb | tar xvf-ar PFile. Deb data.tar.gz | tar xvzf-14.files with the extension of .zip:# Unzip file.zipDecompress WinZip files in LinuxIf JDK is installed, you can use the jar command and the unzip
Data.zip file has more than 4G, decompression when the problem.
Archive:data.zip
End-of-central-directorysignature not found. Either Thisfile is not
A zipfile, or itconstitutes one disk of a multi-partarchive. In the
latter case the centraldirectory and ZipFile comment would be found on
The last disk (s) of thisarchive.
Unzip:cannot find Zipfiledirectory in one of Bbs.zip or
Data.zip.zip,and cannot find Data.zip.ZIP, period.
In this case, you need to use 7zi
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.