zip -d file.jar unwanted_file.txt
jar is just a zip file after all. Definitely much faster than uncompressing/recompressing.
More Related Contents:
- How to make an executable JAR file?
- How do I read a resource file from a Java jar file?
- What is a fat JAR? [duplicate]
- Call “java -jar MyFile.jar” with additional classpath option
- Run a Java Application as a Service on Linux
- Controlling Maven final name of jar artifact
- How to use classes from .jar files?
- How to write a Java program which can extract a JAR file and store its data in specified directory (location)?
- What is the maven-shade-plugin used for, and why would you want to relocate Java packages?
- Java creating .jar file
- How to use .jar files in NetBeans?
- How do I read the manifest file for a webapp running in apache tomcat?
- Eclipse: Attach source/javadoc to a library via a local property
- Modifying a file inside a jar
- Multiple runnable classes inside JAR, how to run them?
- Including Images with an executable jar
- What version of javac built my jar?
- What is the best way to avoid maven-jar?
- Distinguishing between Java threads and OS threads?
- Finding unused jars used in an eclipse project
- Running a JAR file without directly calling `java`
- JAVA_HOME and PATH are set but java -version still shows the old one
- How to reference JSF managed beans which are provided in a JAR file?
- Importing external .jar file to Android project [duplicate]
- NetBeans – deploying all in one jar [duplicate]
- How to includes all images in jar file using eclipse
- How do I access a config file inside the jar?
- Convert .Jar to .Dmg
- Run a jar File from java program
- Where should i place my files in order to be able to access them when i run the jar?