FG

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

Fresh3 days ago
Mar 15, 202655914 views
Confidence Score0%
0%

Problem

I have a jar, and I need to replace a class in it, at this moment, I can only open it with "archive manager" and then drag and drop the new compiled class into the jar, but I think this is really boring, if I can do with with just a command ? Thanks ~

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

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

Low Risk

what about this one if the jar have a folder structure, you can keep that too Look this one for more information http://docs.oracle.com/javase/tutorial/deployment/jar/update.html

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment