Skip to content
IT Nursery
  • Home
  • Programming
    • Mac / IOS
    • Android
    • Web Applications
    • PHP
    • Java
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress
  • System and Network
    • Serverfault

jar

How to search for a file in war,ear and jar files recursively in Linux

by IT Nursery

Searching inside jar files: find . -name \*.jar -exec sh -c ‘printf “\n\nFile: {}”; jar tf {}’ “;” | less +/foo And similar … Read more

Tags file-search, jar, linux

How to replace a file in jar with command line in linux?

by IT Nursery

zip -u stuff.jar file.txt will update file.txt in stuff.zip . Note that for -u file.txt must already exist in the zip file, and … Read more

Tags jar, linux, ubuntu

How to pin an executable jar to start in Windows 10?

by IT Nursery

The first thing I did was make sure I had the latest Java SE and that the .JAR file association was with Java … Read more

Tags file-shortcut, jar, java, shortcuts, windows-10

Can you configure Windows to open JAR files like ZIP files without a 3rd party tool?

by IT Nursery

Or from the command line: assoc .jar=CompressedFolder Under Vista (or higher) you have to run this in an elevated Command Prompt.

Tags jar, java, windows, windows-explorer, zip

Is there a way to edit files inside of a zip file without explicitly extracting them first?

by IT Nursery

Do you know the name of the file in the archive before unzipping it? You could make a function to unzip to /tmp, … Read more

Tags jar, linux, shell, unix, zip

Deploying Maven project throws java.util.zip.ZipException: invalid LOC header (bad signature)

by IT Nursery

I am getting the below exception when I run my mvn install. I have even deleted the local repository and ran again getting … Read more

Tags deployment, jakarta-ee, jar, maven

Determine which JAR file a class is from

by IT Nursery

I am not in front of an IDE right now, just looking at the API specs. CodeSource src = MyClass.class.getProtectionDomain().getCodeSource(); if (src != … Read more

Tags class, classloader, jar, java

How to build sources JAR with Gradle?

by IT Nursery

I am working with an open source project that is built with Gradle. I would like to generate a (project)-sources.jar file that I … Read more

Tags gradle, jar, java

Extract source code from .jar file

by IT Nursery

Is there a way to extract the source code from an executable .jar file (Java ME)? 1Best Answers 11

Tags decompiling, jar, java, java-me

Add JAR files to a Spark job – spark-submit

by IT Nursery

True… it has been discussed quite a lot. However, there is a lot of ambiguity and some of the answers provided … including … Read more

Tags apache-spark, jar, java, scala, spark-submit
Older posts
Page1 Page2 … Page5 Next →

Recent Posts

  • Advice for improving internal dashboard [closed]
  • grep : ‘+’ special character
  • File location for Syslogs in Centos machine
  • How to collect users’ task completion times?
  • “service {FOO} start” vs. “/etc/init.d/{FOO} start”? [closed]
IT Nursery
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Important Link

  • About
  • Privacy Policy
  • Contact

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery
x
x